Skip to content

Commit 0496afe

Browse files
committed
hotfix: assign job output
1 parent 1980d89 commit 0496afe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/translations-sync.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ permissions:
2323
jobs:
2424
synchronize-with-crowdin:
2525
runs-on: ubuntu-latest
26+
outputs:
27+
pull_request_number: ${{ steps.crowdin_pr.outputs.pull_request_number }}
2628

2729
steps:
2830
- name: Harden Runner
@@ -36,6 +38,7 @@ jobs:
3638
# see all the options at https://github.com/crowdin/github-action
3739
- name: Crowdin PR
3840
uses: crowdin/github-action@2d540f18b0a416b1fbf2ee5be35841bd380fc1da # v2.3.0
41+
id: crowdin_pr
3942
with:
4043
# do not upload anything - this is a one-way operation download
4144
upload_sources: false
@@ -72,7 +75,7 @@ jobs:
7275
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7376
with:
7477
# Use the number from the output of crowdin/github-action
75-
ref: refs/pull/${{ steps.synchronize-with-crowdin.outputs.pull_request_number }}/head
78+
ref: refs/pull/${{ jobs.synchronize-with-crowdin.outputs.pull_request_number }}/head
7679

7780
- name: Restore Lint Cache
7881
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2

0 commit comments

Comments
 (0)