Skip to content

Merge pull request #405 from kurokobo/v2024.6.18 #758

Merge pull request #405 from kurokobo/v2024.6.18

Merge pull request #405 from kurokobo/v2024.6.18 #758

Workflow file for this run

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