Skip to content

Commit

Permalink
update the checkout action to version 4
Browse files Browse the repository at this point in the history
  • Loading branch information
rico132 committed Apr 24, 2024
1 parent 3a465f4 commit 51c8e8c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
isInRepo: ${{ steps.save-var.outputs.IS_IN_REPO }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check for latest
id: save-var
run: |
Expand All @@ -40,7 +40,7 @@ jobs:
if: ${{ github.event.inputs.VERSION != null && github.event.inputs.IS_RELEASE != null && needs.is-in-repo.outputs.isInRepo == 'false' }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: master

Expand Down Expand Up @@ -92,13 +92,13 @@ jobs:
steps:
- if: ${{ github.event.inputs.IS_RELEASE == 'true' || github.event.inputs.IS_RELEASE == null }}
name: Checkout master
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: master

- if: ${{ github.event.inputs.IS_RELEASE == 'false' }}
name: Checkout snapshots
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: snapshots

Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
if: ${{ always() && github.event.inputs.IS_RELEASE != null && github.event.inputs.IS_RELEASE == 'false' }}
steps:
- name: Checkout snapshots
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: snapshots

Expand Down

0 comments on commit 51c8e8c

Please sign in to comment.