Skip to content

Commit

Permalink
CI version env fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Khertys committed Oct 18, 2023
1 parent 7363442 commit 579c3bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ jobs:
- name: Pack nuget
env:
NUGET_VERSION: $( echo ${{ steps.release_version.outputs.version }} | sed 's/^v//')
run: cd EvitaDB.Client && dotnet pack -c Release -p:PackageVersion=$NUGET_VERSION --no-build --no-restore
run: cd EvitaDB.Client && dotnet pack -c Release -p:PackageVersion=${{ env.NUGET_VERSION }} --no-build --no-restore

- name: Publish nuget
env:
NUGET_VERSION: $( echo ${{ steps.release_version.outputs.version }} | sed 's/^v//')
run: cd bin/Release && dotnet nuget push EvitaDB.Client.$NUGET_VERSION.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
run: cd bin/Release && dotnet nuget push EvitaDB.Client.${{ env.NUGET_VERSION }}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json

- name: Create release
id: create_release
Expand Down

0 comments on commit 579c3bc

Please sign in to comment.