Skip to content

Commit

Permalink
Fix failure-causing typo in automatic release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sudokoko committed Sep 24, 2023
1 parent 9aeab04 commit 8fe9b9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT

- name: Build NuGet Package
run: dotnet pack -c Release /p:Version=${{ steps.version.output.version }} Starnet
run: dotnet pack -c Release /p:Version=${{ steps.version.outputs.version }} Starnet

- name: Create GitHub Release
uses: "marvinpinto/action-automatic-releases@latest"
Expand All @@ -36,7 +36,7 @@ jobs:
prerelease: false
draft: true
files: |
${{ github.workspace }}/Starnet/bin/Release/LBPUnion.Starnet.${{ steps.version.output.version }}.nupkg
${{ github.workspace }}/Starnet/bin/Release/LBPUnion.Starnet.${{ steps.version.outputs.version }}.nupkg
nuget:
name: Release Package to NuGet
runs-on: ubuntu-latest
Expand All @@ -57,11 +57,11 @@ jobs:
run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT

- name: Build NuGet Package
run: dotnet pack -c Release /p:Version=${{ steps.version.output.version }} Starnet
run: dotnet pack -c Release /p:Version=${{ steps.version.outputs.version }} Starnet

- name: Create NuGet Release
run: |
dotnet nuget push \
${{ github.workspace }}/Starnet/bin/Release/LBPUnion.Starnet.${{ steps.version.output.version }}.nupkg \
${{ github.workspace }}/Starnet/bin/Release/LBPUnion.Starnet.${{ steps.version.outputs.version }}.nupkg \
--source https://api.nuget.org/v3/index.json \
--api-key ${{ secrets.NUGET_TOKEN }}

0 comments on commit 8fe9b9b

Please sign in to comment.