Skip to content

Update for 2.8.1.0.120606 #67

Update for 2.8.1.0.120606

Update for 2.8.1.0.120606 #67

Workflow file for this run

name: TankLib
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: 'recursive'
- name: Install .NET 8
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Mutate Run Number
run: |
$num = (997+$($Env:GITHUB_RUN_NUMBER))
echo "GITHUB_RUN_NUMBER_DELTA=$num" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
- name: Restore project
run: dotnet restore OverwatchToolchain.sln --verbosity m -r win-x64 -p:TargetFramework=net8.0
- name: Build Release
run: dotnet publish --configuration ReleasePublish -r win-x64 -o dist/Release --self-contained true
# --self-contained for https://github.com/dotnet/sdk/issues/29642
- name: Upload Release
uses: actions/upload-artifact@v2
with:
name: toolchain-release
path: dist/Release
- name: Build Debug
run: dotnet publish --configuration DebugPublish -r win-x64 -o dist/Debug --self-contained true
- name: Upload Debug
uses: actions/upload-artifact@v2
with:
name: toolchain-debug
path: dist/Debug