Skip to content

Add release-tag workflow #19

Add release-tag workflow

Add release-tag workflow #19

Workflow file for this run

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
- 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}"