mirror of
https://github.com/Awesome-Technologies/synapse-admin.git
synced 2025-09-18 07:37:46 +02:00
Compare commits
8 Commits
master
...
test_relea
Author | SHA1 | Date | |
---|---|---|---|
|
0a616a7a32 | ||
|
774beb07ec | ||
|
e88ee20a19 | ||
|
4861835d02 | ||
|
f33ad41242 | ||
|
36fbd70a42 | ||
|
e6a1be74de | ||
|
ca48495bbf |
29
.github/workflows/node.js.yml
vendored
Normal file
29
.github/workflows/node.js.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Create release tarball and attach to tag
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "14"
|
||||
- run: yarn install
|
||||
- run: yarn build
|
||||
- run: |
|
||||
version=`git describe --dirty --tags || echo unknown`
|
||||
mkdir -p dist
|
||||
cp -r build synapse-admin-$version
|
||||
tar chvzf dist/synapse-admin-$version.tar.gz synapse-admin-$version
|
||||
rm -r synapse-admin-$version
|
||||
- uses: softprops/action-gh-release@b7e450da2a4b4cb4bfbae528f788167786cfcedf
|
||||
with:
|
||||
files: dist/*.tar.gz
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user