Don't use actions/setup-dotnet in integration_tests.yml #3043
Workflow file for this run
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: Build | |
on: | |
pull_request: | |
merge_group: | |
concurrency: | |
group: ci-build-${{ github.ref }}-1 | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [[self-hosted, windows], [self-hosted, linux], macos-14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: "List installed dotnet SDKs" | |
if: matrix.os == 'Windows' | |
run: dotnet --list-sdks | |
- name: "Setup Dotnet for use with actions" | |
# don't run on self-hosted Windows | |
if: ${{ !contains(toJSON(matrix.os), 'windows') || !contains(toJSON(matrix.os), 'self-hosted') }} | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- name: "Build converter backend" | |
working-directory: ImperatorToCK3 | |
run: | | |
dotnet build |