Skip to content

Commit

Permalink
hotfix: assign job output
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuenzenmeyer committed Dec 7, 2024
1 parent 1980d89 commit 0496afe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/translations-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ permissions:
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
outputs:
pull_request_number: ${{ steps.crowdin_pr.outputs.pull_request_number }}

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

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

0 comments on commit 0496afe

Please sign in to comment.