mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
27 lines
674 B
YAML
27 lines
674 B
YAML
name: Publish release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Use node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22.x
|
|
- name: Generate release assets
|
|
run: npm ci && VERSION=${GITHUB_REF#refs/tags/v} npm run build:dist
|
|
- 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
|