Valorant Update #64
This file contains hidden or 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: Valorant Update | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| dotnet-version: [ '9.*' ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Ensure full history is fetched for tags | |
| - name: Set up .NET SDK | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: '9.*' | |
| - name: Restore dependencies | |
| run: dotnet restore RadiantConnect.sln | |
| - name: Restore SNK file from secret | |
| run: | | |
| echo $env:SNK_KEY > key.txt && certutil -decode key.txt RadiantConnectKey.snk | |
| env: | |
| SNK_KEY: ${{ secrets.SNK_KEY }} | |
| - name: Build the project | |
| run: dotnet build RadiantConnect.sln --configuration Release --framework net9.0 | |
| - name: Test RadiantConnect.Tests | |
| run: dotnet test RadiantConnect.Tests/RadiantConnect.Tests.csproj --filter "TableUnitTest" --no-restore --verbosity normal |