Skip to content

Commit 406a2a5

Browse files
penev92Mailaender
authored andcommitted
Fixed an issue with setting the NuGet package version when running via tag push
1 parent c939853 commit 406a2a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-nuget.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ jobs:
8080

8181
- name: Package NuGet
8282
run: |
83-
nuget pack OpenRA-OpenAL-CS.nuspec -OutputDirectory ./nuget -version ${{ github.event.inputs.nugetPackageVersion }}
83+
nuget pack OpenRA-OpenAL-CS.nuspec -OutputDirectory ./nuget -version ${{ env.PACKAGE_VERSION }}
8484
8585
- name: Upload NuGet package to Artifacts
8686
uses: actions/upload-artifact@v3
8787
with:
88-
name: NuGet Package ${{ github.event.inputs.nugetPackageVersion }}
88+
name: NuGet Package ${{ env.PACKAGE_VERSION }}
8989
path: ./nuget
9090

9191
- name: Tag a release

0 commit comments

Comments
 (0)