diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5ed6fd..3094526 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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