Skip to content

Commit

Permalink
chore(ci): fix pr number
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec-ant committed Dec 26, 2023
1 parent fc6c260 commit da566a2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get PR number
id: get-pr-number
uses: mgaitan/gha-get-pr-number@main
- name: Build Start Dispatch
uses: peter-evans/repository-dispatch@v2
with:
event-type: build-start
client-payload: '{ "pr-number": ${{ steps.get-pr-number.outputs.number }} }'
- uses: actions/checkout@v4
- name: Setup system libraries cache
id: cache-system-libraries
Expand Down Expand Up @@ -63,9 +67,6 @@ jobs:
pattern: "^(.+?/releases/)tag(/.+?)$"
string: ${{ steps.release.outputs.html_url }}
replace-with: "$1download$2/zxing-wasm-${{ steps.commit-id.outputs.id }}.tgz"
- name: Get PR number
id: get-pr-number
uses: mgaitan/gha-get-pr-number@main
- name: Build Finish Dispatch
uses: peter-evans/repository-dispatch@v2
with:
Expand Down

0 comments on commit da566a2

Please sign in to comment.