Skip to content

Add release-tag workflow #13

Add release-tag workflow

Add release-tag workflow #13

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: Checkout repository
uses: actions/checkout@v2
- name: Build
uses: ./.github/workflows/build.yml
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" build/libs/model-checking-1.0-SNAPSHOT.jar \
--repo="$GITHUB_REPOSITORY" \
--title="v${tag#v}"