Skip to content

Commit

Permalink
Updated version number for each push.
Browse files Browse the repository at this point in the history
  • Loading branch information
saj122 committed Sep 15, 2023
1 parent a1d9a3e commit cc95f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- name: Pack Nuget Package
if: ${{ matrix.os == 'ubuntu-latest' }}
working-directory: ./Src/CommandLine
run: dotnet pack CommandLine.csproj -c Release -p:PackageVersion="1.0.${{ GITHUB_ACTION }}" /p:Platform=x64
run: dotnet pack CommandLine.csproj -c Release -p:PackageVersion="1.0.$GITHUB_RUN_ID" /p:Platform=x64
- name: Publish Nuget Package
if: ${{ matrix.os == 'ubuntu-latest' }}
working-directory: ./nupkg
run: dotnet nuget push VUISIS.Formula.x64.1.0.${{ GITHUB_ACTION }}.nupkg --api-key ${{ secrets.BUILD_SECRET }} --source https://api.nuget.org/v3/index.json --skip-duplicate
run: dotnet nuget push VUISIS.Formula.x64.1.0.$GITHUB_RUN_ID.nupkg --api-key ${{ secrets.BUILD_SECRET }} --source https://api.nuget.org/v3/index.json --skip-duplicate
- name: Copy to Liblibz3 MacOS
if: ${{ matrix.os == 'macOS-latest' }}
run: cp ${GITHUB_WORKSPACE}/Src/CommandLine/bin/Release/MacOS/x64/net6.0/runtimes/osx-x64/native/libz3.dylib ${GITHUB_WORKSPACE}/Src/CommandLine/bin/Release/MacOS/x64/net6.0/runtimes/osx-x64/native/liblibz3.dylib
Expand Down

0 comments on commit cc95f97

Please sign in to comment.