Skip to content

Commit ca73b29

Browse files
committed
fix: use correct create release action
1 parent b43612b commit ca73b29

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

action.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
id: set-env
2929
shell: bash
3030
run: |
31-
echo "SEMVER=${{ inputs.version }}" >> $GITHUB_ENV
31+
echo "VERSION=${{ inputs.version }}" >> $GITHUB_ENV
3232
echo "ARTIFACT_NAME=${{ inputs.artifact-name }}" >> $GITHUB_ENV
3333
echo "NUGET_API_KEY=${{ inputs.nuget-api-key }}" >> $GITHUB_ENV
3434
echo "ARTIFACT_PATH=./packages" >> $GITHUB_ENV
@@ -39,8 +39,9 @@ runs:
3939
path: ${{ env.ARTIFACT_PATH }}
4040
- name: Push to NuGet
4141
shell: bash
42-
run: dotnet nuget push ${{ env.ARTIFACT_PATH }}/**/*.nupkg -k ${{ env.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
42+
run: |
43+
dotnet nuget push ${{ env.ARTIFACT_PATH }}/**/*.nupkg -k ${{ env.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
4344
- name: 🚀 Create release
44-
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/update-release.yml@main
45+
uses: jcdcdev/jcdcdev.GitHub.CreateRelease@main
4546
with:
46-
version: ${{ inputs.version }}
47+
version: ${{ env.VERSION }}

0 commit comments

Comments
 (0)