Skip to content

Commit

Permalink
fix(workflows): try using shared workflows as jobs instead of steps
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeerivers committed Nov 29, 2023
1 parent ef7cadd commit 0e12a8c
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ permissions:
pull-requests: write

jobs:
release-and-publish:
runs-on: ubuntu-latest
steps:
- name: Release Please
uses: hedia-team/.github/.github/workflows/release-please.yml@latest
id: release
release:
uses: hedia-team/.github/.github/workflows/release-please.yml@latest

- name: Publish Please
if: steps.release.outputs.release_created == 'true'
uses: hedia-team/.github/.github/workflows/publish-please.yml@latest
with:
github_ref: ${{ github.ref }}
publish:
needs: release
if: needs.release.outputs.release_created == 'true'
uses: hedia-team/.github/.github/workflows/publish-please.yml@latest
secrets: inherit
with:
github_ref: ${{ github.ref }}

0 comments on commit 0e12a8c

Please sign in to comment.