mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-14 02:24:31 +00:00
c0f4a92f1a
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 0.1.5 to 0.1.15.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](b7e450da2a...de2c0eb89a
)
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
32 lines
780 B
YAML
32 lines
780 B
YAML
name: Create release tarball and attach to tag
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
packages: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "16"
|
|
- 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
|
|
- uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
|
|
with:
|
|
files: dist/*.tar.gz
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|