v1.7 updates to Harmony v2.3.1.1 #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: Create a mod release | |
on: | |
push: | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+.[0-9]+" | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Setup dotnet | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 5.0.x | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build | |
- name: "Refresh tags" | |
id: tag | |
run: git fetch --tags --force | |
- uses: ericcornelissen/[email protected] | |
id: tag-data | |
- name: Create GitHub release | |
uses: Roang-zero1/[email protected] | |
with: | |
version_regex: ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ | |
release_text: ${{ steps.tag-data.outputs.git-tag-annotation }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run latest-tag | |
uses: EndBug/latest-tag@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |