|
|
@ -15,26 +15,28 @@ on:
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
name: .NET on ${{ matrix.os }} (${{ matrix.configuration }})
|
|
|
|
name: .NET on ${{ matrix.runs-on }} (${{ matrix.configuration }})
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.runs-on }}
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
runs-on: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
configuration: [Release, Debug]
|
|
|
|
configuration: [Release, Debug]
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
|
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
|
|
|
|
- name: Setup .NET Core
|
|
|
|
- name: Setup .NET Core
|
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
uses: actions/setup-dotnet@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
dotnet-version: '6.0.x'
|
|
|
|
dotnet-version: 6.0.x
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
- name: Build
|
|
|
|
run: dotnet publish -c ${{ matrix.configuration }} -o artifacts
|
|
|
|
run: dotnet publish -c ${{ matrix.configuration }} -o artifacts
|
|
|
|
|
|
|
|
|
|
|
|
- name: Upload artifact
|
|
|
|
- name: Upload artifact
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
if: matrix.configuration == 'Release'
|
|
|
|
if: matrix.configuration == 'Release'
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
name: DepotDownloader-${{ runner.os }}
|
|
|
|
name: DepotDownloader-${{ runner.os }}
|
|
|
|