Skip to content

Commit

Permalink
- Fixed Invalid Version for dotnet update
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystianLesniak committed Jul 10, 2023
1 parent 1a890c4 commit c6cf123
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_NOLOGO: true
NuGetDirectory: ${{ github.workspace}}/nuget
DotNetValidateVersion: 0.0.1-preview.304
SlnFolderPath: src
CsProjFilePath: src/RetroAchievements.Api/RetroAchievements.Api.csproj

Expand Down Expand Up @@ -60,7 +61,7 @@ jobs:
path: ${{ env.NuGetDirectory }}

- name: Install nuget validator
run: dotnet tool update dotnet-validate --global
run: dotnet tool update dotnet-validate --global --version ${{ env.DotNetValidateVersion }}

- name: Validate package
run: dotnet validate package local (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg")
Expand Down

0 comments on commit c6cf123

Please sign in to comment.