feat: update treasure solver api URL #65
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: Pull Request | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
fetch-game-files: | |
uses: Dofus-Batteries-Included/workflows/.github/workflows/fetch-game-files.job.yml@main | |
build-release: | |
name: Build & Test | |
needs: fetch-game-files | |
runs-on: windows-latest | |
steps: | |
- name: Display build information | |
run: | | |
echo "Build id: ${{ needs.fetch-game-files.outputs.game_build_id }}" | |
echo "Version: ${{ needs.fetch-game-files.outputs.game_version }}" | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Download Interop assemblies | |
uses: actions/download-artifact@v4 | |
with: | |
name: interop-assemblies | |
path: src/Interop | |
- name: Install .NET 8.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Build | |
run: cd src; dotnet build --configuration Release -p:DofusBuildId=${{ needs.fetch-game-files.outputs.game_build_id }} -p:DofusVersion=${{ needs.fetch-game-files.outputs.game_version }} | |
- name: Test | |
run: cd src; dotnet test --configuration Release | |
permissions: | |
packages: read |