Skip to content

v1.28.0

v1.28.0 #74

Workflow file for this run

name: release
on:
release:
types:
- published
jobs:
release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'dev-')
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
- name: Compute tag name
id: tag-name
run: echo "::set-output name=tag-name::${GITHUB_REF#refs/tags/}"
- uses: depot/setup-action@v1
- uses: depot/build-push-action@v1
with:
outputs: type=local,dest=dist/artifacts
build-args: VERSION=${{ steps.tag-name.outputs.tag-name }}
- uses: softprops/action-gh-release@v1
with:
files: dist/artifacts/*