Skip to content

feat: add support for v2024.6.18x #757

feat: add support for v2024.6.18x

feat: add support for v2024.6.18x #757

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/checkout@v2.3.4
with:
fetch-depth: 0
- name: "Get Previous tag"
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@master"
- name: Setup .NET Core
uses: actions/setup-dotnet@v1.8.0
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