Skip to content

Commit

Permalink
refactor(repo): ensure release step outputs to deploy step in nuget a…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
AJCJ1 committed Jan 21, 2025
1 parent 665ef1c commit ab45e03
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy_to_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
branches:
- master
- iss-1
- release-please-test

permissions:
contents: write
Expand Down Expand Up @@ -42,13 +41,16 @@ jobs:

# https://github.com/googleapis/release-please/blob/72b0ab360c3d6635397e8b02f4d3f9f53932e23c/docs/customizing.md
- name: Create Release
id: create_release
uses: googleapis/release-please-action@v4
with:
target-branch: release-please-test
outputs:
release_created: ${{ steps.create_release.outputs.release_created }}

deploy:
needs: release
if: ${{ needs.release.outputs.release_created == true }}
if: ${{ needs.release.outputs.release_created }}
name: Push to NuGet registry
runs-on: ubuntu-24.04
strategy:
Expand Down

0 comments on commit ab45e03

Please sign in to comment.