Skip to content

Commit

Permalink
ci: fix action versions (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
QRuhier authored Sep 11, 2024
1 parent 8590315 commit 0b9d5cf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
runs-on: ubuntu-latest
if: github.event.head_commit.author.name != 'github-actions[bot]'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: yarn
- run: yarn build
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: pogues
path: dist
Expand All @@ -33,7 +33,7 @@ jobs:
is_version_changed: ${{ steps.check.outputs.exists == 'false' }}
is_pre_release: ${{ contains(steps.version.outputs.prop, '-rc' ) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: version
uses: notiz-dev/github-action-json-property@release
with:
Expand All @@ -52,14 +52,14 @@ jobs:
needs.check_if_version_upgraded.outputs.is_version_changed == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: pogues
path: dist
Expand All @@ -81,10 +81,10 @@ jobs:
(github.event_name == 'push' || needs.check_if_version_upgraded.outputs.is_pre_release == 'true') &&
needs.check_if_version_upgraded.outputs.is_version_changed == 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: pogues
path: dist
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
name: Test & build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn
Expand All @@ -22,12 +22,12 @@ jobs:
# Build lib
- run: yarn build
- name: Upload deploy artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage/
- name: Upload deploy artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build
path: dist/
Expand All @@ -36,11 +36,11 @@ jobs:
runs-on: ubuntu-latest
needs: test-build
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download coverage artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: coverage
path: coverage
Expand Down

0 comments on commit 0b9d5cf

Please sign in to comment.