Compare commits

...

8 Commits

Author SHA1 Message Date
Dirk Klimpel
0a616a7a32
Create node.js.yml 2021-06-24 16:24:57 +02:00
Dirk Klimpel
774beb07ec
Merge pull request #33 from Awesome-Technologies/master
bring up2date
2021-04-23 08:36:42 +02:00
Dirk Klimpel
e88ee20a19
Merge pull request #29 from Awesome-Technologies/master
import orign/master
2020-12-13 20:56:06 +01:00
Dirk Klimpel
4861835d02
Merge pull request #15 from Awesome-Technologies/master
sync master
2020-05-05 18:15:27 +02:00
Dirk Klimpel
f33ad41242
Revert "sync master" (#14)
This reverts commit 36fbd70a42.
2020-05-05 18:14:34 +02:00
Dirk Klimpel
36fbd70a42
sync master 2020-05-04 19:25:22 +02:00
dklimpel
e6a1be74de Revert "init"
This reverts commit ca48495bbf.
2020-03-28 21:44:02 +01:00
dklimpel
ca48495bbf init 2020-03-28 21:41:38 +01:00

29
.github/workflows/node.js.yml vendored Normal file
View 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 }}