Skip to content

Release 2.0.0.6

Release 2.0.0.6 #13

Workflow file for this run

name: Build Patcher
on:
push:
tags:
- '*'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
build:
name: Build on Windows
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Build SharkyPatcher
run: |
dotnet restore
dotnet publish -c Release
Compress-Archive -Path .\SharkyPatcher\bin\Release\net462\publish\* -Destination SharkyPatcher.zip
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: SharkyPatcher
path: .\SharkyPatcher\bin\Release\net462\publish\
- name: Tag Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: SharkyPatcher.zip
name: Sharky Patcher ${{ github.ref_name }}
body_path: RELEASE.md