Skip to content

Commit

Permalink
Update CI to checkout@v4 (OpenRCT2#2927)
Browse files Browse the repository at this point in the history
  • Loading branch information
tupaschoal authored Sep 14, 2024
1 parent 837140f commit b2b99bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/translation_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ jobs:

steps:
- name: Get Pull Request
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: pr
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- name: Get OpenRCT2 develop (for en-GB.txt)
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: OpenRCT2/OpenRCT2
ref: develop
path: OpenRCT2

- name: Checkout translations before PR changes (for comparsion)
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: master
ref: ${{github.event.pull_request.head.ref}}
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
run: rm -rf master

- name: Checkout upstream master as master
uses: actions/checkout@v2
uses: actions/checkout@v4
if: ${{ steps.merge-base-commit.outputs.merge_base == github.event.pull_request.head.sha }}
with:
ref: master
Expand All @@ -65,7 +65,7 @@ jobs:
python-version: '3.8'

- name: Checkout upstream master (in order to use the newest version of the script)
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: upstream_master
ref: master
Expand Down

0 comments on commit b2b99bb

Please sign in to comment.