Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,27 @@ jobs:
publish-enabled: ${{ !inputs.skip-assets-publishing }}
enable-email-notifications: true
secrets:
NUGET_UPLOAD_TOKEN: ${{ secrets.EVERGINE_NUGETORG_TOKEN }}
WAVE_SENDGRID_TOKEN: ${{ secrets.WAVE_SENDGRID_TOKEN }}
EVERGINE_EMAILREPORT_LIST: ${{ secrets.EVERGINE_EMAILREPORT_LIST }}
EVERGINE_EMAIL: ${{ secrets.EVERGINE_EMAIL }}

# nuget.org trusted publishing validates the workflow file the pushing job is defined in,
# and it has to belong to this repository, so the push cannot happen inside the reusable workflow.
publish:
needs: cd
if: needs.cd.outputs.publish == 'true'
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
name: nuget-packages
path: nupkgs
- uses: NuGet/login@v1
id: login
with:
user: ${{ vars.EVERGINE_NUGETORG_USER }}
- uses: EvergineTeam/Evergine.Bindings/.github/actions/nuget-publish@v1
with:
auth-token: ${{ steps.login.outputs.NUGET_API_KEY }}
Loading