File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ jobs:
3434 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
3535 run : |
3636 VERSION=${GITHUB_REF#refs/tags/restclient-v}
37- echo "PACKAGE_VERSION =$VERSION" >> $GITHUB_ENV
37+ echo "REST_CLIENT_DOTNET_VERSION =$VERSION" >> $GITHUB_ENV
3838
3939 - name : Set version from input
4040 if : github.event_name == 'workflow_dispatch'
4141 run : |
42- echo "PACKAGE_VERSION =${{ github.event.inputs.version }}" >> $GITHUB_ENV
42+ echo "REST_CLIENT_DOTNET_VERSION =${{ vars.REST_CLIENT_DOTNET_VERSION }}" >> $GITHUB_ENV
4343
4444 - name : Pack
45- run : dotnet pack RestClient.Net/RestClient.Net.csproj --configuration Release --no-build --output ./packages /p:Version=${{ env.PACKAGE_VERSION }}
45+ run : dotnet pack RestClient.Net/RestClient.Net.csproj --configuration Release --no-build --output ./packages /p:Version=${{ env.REST_CLIENT_DOTNET_VERSION }}
4646
4747 - name : Publish to NuGet
4848 run : dotnet nuget push ./packages/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
You can’t perform that action at this time.
0 commit comments