Skip to content

Commit

Permalink
Update dotnet-push-package.yml
Browse files Browse the repository at this point in the history
Bump version.
Workaround for actions/setup-dotnet#155
  • Loading branch information
highbyte authored Feb 25, 2021
1 parent b6cdaff commit 67dbdad
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dotnet-push-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
PROJECT_FILE: "Highbyte.DotNet6502/Highbyte.DotNet6502.csproj"
PROJECT_FILE2: "Highbyte.DotNet6502.SadConsoleHost/Highbyte.DotNet6502.SadConsoleHost.csproj"
CONFIGURATION: "Release"
VERSION: "0.3" #Major.Minor[.Rev]
VERSION: "0.4.0" #Major.Minor[.Rev]
VERSION_SUFFIX: "-alpha"
PACKAGE_REPO: "https://nuget.pkg.github.com/highbyte/index.json"

Expand All @@ -25,7 +25,12 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x


- name: Clean package cache as a temporary workaround for actions/setup-dotnet#155
run: |
dotnet clean
dotnet nuget locals all --clear
- name: Build dll
run: dotnet build ${{ env.PROJECT_FILE }} -c ${{ env.CONFIGURATION }} /Property:Version=${{ env.VERSION }}.${{ github.run_number }}${{ env.VERSION_SUFFIX }}
- name: Pack NuGet package
Expand Down

0 comments on commit 67dbdad

Please sign in to comment.