Add release-tag workflow #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Tag | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
permissions: | ||
contents: write | ||
jobs: | ||
build: | ||
uses: ./.github/workflows/build.yml | ||
release-tag: | ||
name: Release Tag | ||
needs: build | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Download artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: model-checking | ||
path: model-checking-v${{ tag#v }}.jar | ||
Check failure on line 23 in .github/workflows/release_tag.yml GitHub Actions / Release TagInvalid workflow file
|
||
- name: Create release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ github.ref_name }} | ||
run: | | ||
gh release create "$tag" model-checking-v${tag#v}.jar \ | ||
--repo="$GITHUB_REPOSITORY" \ | ||
--title="v${tag#v}" |