set submodules: true #1
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: | |
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g., for dependabot pull requests) | |
push: | |
branches: [ main ] | |
# Trigger the workflow on any pull request | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
filter: tree:0 | |
- name: Setup .NET environment | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: "8.0.100" | |
- name: Install Thunderstore CLI | |
run: | | |
dotnet tool install -g tcli | |
- uses: ./.github/actions/fetch-custom-boombox-tracks | |
with: | |
version: 1.4.0 | |
- name: Build solution | |
run: | | |
dotnet build | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-artifacts | |
path: "dist/*.zip" |