shlink-web-client/.github/workflows/publish-release.yml

28 lines
662 B
YAML
Raw Normal View History

name: Publish release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use node.js
uses: actions/setup-node@v1
with:
node-version: 16.13
- name: Generate release assets
2020-11-01 12:39:09 +03:00
run: npm ci && npm run build ${GITHUB_REF#refs/tags/v}
- name: Publish release with assets
uses: docker://antonyurchenko/git-release:latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ALLOW_EMPTY_CHANGELOG: "true"
with:
args: |
dist/shlink-web-client_*_dist.zip