Merge pull request #399 from kurokobo/v2023.11.28 #746
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: Beta releases | |
on: | |
push: | |
branches: [master, TownOfUs] | |
pull_request: | |
branches: [master, TownOfUs] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: "Get Previous tag" | |
id: previoustag | |
uses: "WyriHaximus/github-action-get-previous-tag@master" | |
- name: Setup .NET Core | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 5.0.100 | |
- name: Install dependencies | |
run: dotnet restore "AUCapture-WPF\AUCapture-WPF.csproj" | |
- name: Publish | |
run: | | |
dotnet publish "AUCapture-WPF\AUCapture-WPF.csproj" -p:PublishProfile=DevProfile -p:AssemblyVersion=${{ steps.previoustag.outputs.tag }}.1 | |
- name: Relocate | |
run: | | |
mv AUCapture-WPF\\bin\\Release\\netcoreapp3.1\\publish\\AUCapture-WPF.exe ..\AmongUsCapture-Beta.exe | |
- name: Zip | |
run: | | |
7z a AmongUsCapture-Beta.zip ..\AmongUsCapture-Beta.exe -mx=9 | |
- name: AmongUsCapture-beta | |
uses: actions/upload-artifact@v2 | |
with: | |
name: AmongUsCapture-beta | |
path: AmongUsCapture-Beta.zip |