CI: update upload artifact action #203
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: Main log test suite | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
# This is a workaround for issue https://github.com/actions/virtual-environments/issues/1090, | |
# which causes to nuget restores to fail | |
- name: Clean NuGet cache | |
run: dotnet nuget locals all --clear | |
- name: Build | |
run: dotnet build --configuration Release Tests/EVTCAnalytics.LogTests.LocalSets | |
- name: Download log suite | |
run: | | |
wget -m -np -c -U "wget-gh-actions-evtc" -R "index.html*" "https://datasets.gw2scratch.com/datasets/main-suite/" | |
mv datasets.gw2scratch.com/datasets/main-suite suite-logs | |
cp Tests/EVTCAnalytics.LogTests.LocalSets/main-suite.toml suite-logs/main-suite.toml | |
- name: Test | |
run: dotnet run --configuration Release --project Tests/EVTCAnalytics.LogTests.LocalSets --local suite-logs/main-suite.toml |