Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Jan 4, 2024
1 parent bd76017 commit 1ec7743
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/get-release-notes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
state: 'all',
head: `${process.env.REPO_OWNER}:release/${process.env.VERSION}`,
});
core.setOutput('RELEASE_NOTES', pulls[0].body);
core.setOutput('RELEASE_NOTES', pulls[0] ? pulls[0].body : '');
env:
GITHUB_TOKEN: ${{ inputs.token }}
REPO_OWNER: ${{ inputs.repo_owner }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
project-path: "src/Auth0.OidcClient.Android"
nuspec-file: "nuget/Auth0.OidcClient.Android.nuspec"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
nuget-token: ${{ secrets.NUGET_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

androidx:
Expand All @@ -78,7 +78,7 @@ jobs:
project-path: "src/Auth0.OidcClient.AndroidX"
nuspec-file: "nuget/Auth0.OidcClient.AndroidX.nuspec"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
nuget-token: ${{ secrets.NUGET_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

ios:
Expand All @@ -90,7 +90,7 @@ jobs:
project-path: "src/Auth0.OidcClient.iOS"
nuspec-file: "nuget/Auth0.OidcClient.iOS.nuspec"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
nuget-token: ${{ secrets.NUGET_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

core:
Expand All @@ -102,7 +102,7 @@ jobs:
project-path: "src/Auth0.OidcClient.Core"
nuspec-file: "nuget/Auth0.OidcClient.Core.nuspec"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
nuget-token: ${{ secrets.NUGET_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

wpf:
Expand All @@ -114,7 +114,7 @@ jobs:
project-path: "src/Auth0.OidcClient.WPF"
nuspec-file: "nuget/Auth0.OidcClient.WPF.nuspec"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
nuget-token: ${{ secrets.NUGET_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

winforms:
Expand All @@ -126,7 +126,7 @@ jobs:
project-path: "src/Auth0.OidcClient.WinForms"
nuspec-file: "nuget/Auth0.OidcClient.WinForms.nuspec"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
nuget-token: ${{ secrets.NUGET_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

uwp:
Expand All @@ -138,7 +138,7 @@ jobs:
project-path: "src/Auth0.OidcClient.UWP"
nuspec-file: "nuget/Auth0.OidcClient.UWP.nuspec"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
nuget-token: ${{ secrets.NUGET_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

maui:
Expand All @@ -150,7 +150,7 @@ jobs:
project-path: "src/Auth0.OidcClient.MAUI"
nuspec-file: "nuget/Auth0.OidcClient.MAUI.nuspec"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
nuget-token: ${{ secrets.NUGET_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

generate-docs:
Expand Down

0 comments on commit 1ec7743

Please sign in to comment.