Skip to content

Commit

Permalink
Update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGable committed Oct 10, 2024
1 parent 08d51da commit e9e5a3b
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ on:
concurrency: ${{ github.workflow }}

jobs:
version:
get_pull_request:
runs-on: ubuntu-latest

outputs:
pull_request_number: ${{ steps.getMergedPullRequest.outputs.pull_request_number }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -24,10 +25,12 @@ jobs:
with:
github_token: ${{ github.token }}

- uses: Expensify/GitHub-Actions/.github/workflows/npmPublish.yml@main
with:
repository: ${{ github.action_repository }}
pull_request_number: ${{ steps.getMergedPullRequest.outputs.pull_request_number }}
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
OS_BOTIFY_COMMIT_TOKEN: ${{ secrets.OS_BOTIFY_COMMIT_TOKEN }}
publish:
needs: get_pull_request
uses: Expensify/GitHub-Actions/.github/workflows/npmPublish.yml@main
with:
repository: ${{ github.action_repository }}
pull_request_number: ${{ needs.get_pull_request.outputs.pull_request_number }}
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
OS_BOTIFY_COMMIT_TOKEN: ${{ secrets.OS_BOTIFY_COMMIT_TOKEN }}

0 comments on commit e9e5a3b

Please sign in to comment.