Skip to content

Commit

Permalink
fix: try using GITHUB_RUN_NUMBER instead of GITHUB_RUN_ID as packagev…
Browse files Browse the repository at this point in the history
…ersion
  • Loading branch information
MrHacky authored and sidharthkalra committed Apr 22, 2022
1 parent 4646dad commit 8eca6ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
run: dotnet test -c Release
- name: Pack QueryBuilder
if: matrix.os == 'ubuntu-latest'
run: dotnet pack -v normal -c Release --no-restore --include-symbols --include-source -p:PackageVersion=$GITHUB_RUN_ID QueryBuilder/QueryBuilder.csproj
run: dotnet pack -v normal -c Release --no-restore --include-symbols --include-source -p:PackageVersion=$GITHUB_RUN_NUMBER QueryBuilder/QueryBuilder.csproj
- name: Pack SqlKata.Execution
if: matrix.os == 'ubuntu-latest'
run: dotnet pack -v normal -c Release --no-restore --include-symbols --include-source -p:PackageVersion=$GITHUB_RUN_ID SqlKata.Execution/SqlKata.Execution.csproj
run: dotnet pack -v normal -c Release --no-restore --include-symbols --include-source -p:PackageVersion=$GITHUB_RUN_NUMBER SqlKata.Execution/SqlKata.Execution.csproj
- name: Upload QueryBuilder Artifact
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 8eca6ee

Please sign in to comment.