From eef75d246218759eeca64b983e2c348eab293e41 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Wed, 6 Nov 2024 14:37:32 +0000 Subject: [PATCH] chore(ci): update actions to v4 --- .github/workflows/actions/build-core/action.yml | 6 +++--- .github/workflows/actions/download-archive/action.yml | 2 +- .github/workflows/actions/publish-npm/action.yml | 2 +- .github/workflows/actions/test-e2e/action.yml | 6 +++--- .github/workflows/actions/test-spec/action.yml | 4 ++-- .../actions/update-reference-screenshots/action.yml | 4 ++-- .github/workflows/actions/upload-archive/action.yml | 2 +- .github/workflows/build.yml | 6 +++--- .github/workflows/dev-build.yml | 2 +- .github/workflows/release-ionicons.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/update-screenshots.yml | 6 +++--- 12 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/actions/build-core/action.yml b/.github/workflows/actions/build-core/action.yml index f48a273fa..56a78db78 100644 --- a/.github/workflows/actions/build-core/action.yml +++ b/.github/workflows/actions/build-core/action.yml @@ -3,14 +3,14 @@ description: 'Build Ionicons' runs: using: 'composite' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Checkout the latest commit in this branch ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 - name: Cache Node Modules - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: node-modules with: diff --git a/.github/workflows/actions/download-archive/action.yml b/.github/workflows/actions/download-archive/action.yml index af83efcb9..d3793c17f 100644 --- a/.github/workflows/actions/download-archive/action.yml +++ b/.github/workflows/actions/download-archive/action.yml @@ -10,7 +10,7 @@ inputs: runs: using: 'composite' steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ inputs.name }} path: ${{ inputs.path }} diff --git a/.github/workflows/actions/publish-npm/action.yml b/.github/workflows/actions/publish-npm/action.yml index 462462e52..655fc3b5c 100644 --- a/.github/workflows/actions/publish-npm/action.yml +++ b/.github/workflows/actions/publish-npm/action.yml @@ -15,7 +15,7 @@ inputs: runs: using: 'composite' steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.x - name: Install latest npm diff --git a/.github/workflows/actions/test-e2e/action.yml b/.github/workflows/actions/test-e2e/action.yml index 6a0fa2ca1..8554a746b 100644 --- a/.github/workflows/actions/test-e2e/action.yml +++ b/.github/workflows/actions/test-e2e/action.yml @@ -10,10 +10,10 @@ inputs: runs: using: 'composite' steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 - name: Cache Node Modules - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: node-modules with: @@ -65,7 +65,7 @@ runs: shell: bash - name: Archive Updated Screenshots if: inputs.update == 'true' && steps.test-and-update.outputs.hasUpdatedScreenshots == 'true' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: updated-screenshots-${{ inputs.shard }}-${{ inputs.totalShards }} path: UpdatedScreenshots-${{ inputs.shard }}-${{ inputs.totalShards }}.zip diff --git a/.github/workflows/actions/test-spec/action.yml b/.github/workflows/actions/test-spec/action.yml index 43701aa68..521cb8818 100644 --- a/.github/workflows/actions/test-spec/action.yml +++ b/.github/workflows/actions/test-spec/action.yml @@ -3,10 +3,10 @@ description: 'Test Spec' runs: using: 'composite' steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 - name: Cache Node Modules - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: node-modules with: diff --git a/.github/workflows/actions/update-reference-screenshots/action.yml b/.github/workflows/actions/update-reference-screenshots/action.yml index 447f15dc5..0ad312a96 100644 --- a/.github/workflows/actions/update-reference-screenshots/action.yml +++ b/.github/workflows/actions/update-reference-screenshots/action.yml @@ -7,8 +7,8 @@ on: runs: using: 'composite' steps: - - uses: actions/setup-node@v3 - - uses: actions/download-artifact@v3 + - uses: actions/setup-node@v4 + - uses: actions/download-artifact@v4 with: path: ./artifacts - name: Extract Archives diff --git a/.github/workflows/actions/upload-archive/action.yml b/.github/workflows/actions/upload-archive/action.yml index bd315874f..a33538f78 100644 --- a/.github/workflows/actions/upload-archive/action.yml +++ b/.github/workflows/actions/upload-archive/action.yml @@ -13,7 +13,7 @@ runs: - name: Create Archive run: zip -q -r ${{ inputs.output }} ${{ inputs.paths }} shell: bash - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ inputs.name }} path: ${{ inputs.output }} \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f386a61a1..ec438b4ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: build-core: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Checkout the latest commit in this branch ref: ${{ github.event.pull_request.head.sha }} @@ -25,7 +25,7 @@ jobs: needs: [build-core] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/workflows/actions/test-spec test-e2e: @@ -46,7 +46,7 @@ jobs: needs: [build-core] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/workflows/actions/test-e2e with: shard: ${{ matrix.shard }} diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index b55f60712..9d2954aa5 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -9,7 +9,7 @@ jobs: outputs: dev-hash: ${{ steps.create-dev-hash.outputs.DEV_HASH }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies run: npm ci --no-package-lock shell: bash diff --git a/.github/workflows/release-ionicons.yml b/.github/workflows/release-ionicons.yml index fbf227928..131dc0e55 100644 --- a/.github/workflows/release-ionicons.yml +++ b/.github/workflows/release-ionicons.yml @@ -21,7 +21,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/workflows/actions/publish-npm with: tag: ${{ inputs.tag }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e00e9c123..0af0855a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: needs: [release-ionicons] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.IONITRON_TOKEN }} fetch-depth: 0 diff --git a/.github/workflows/update-screenshots.yml b/.github/workflows/update-screenshots.yml index 544ae117b..8aa2ee25d 100644 --- a/.github/workflows/update-screenshots.yml +++ b/.github/workflows/update-screenshots.yml @@ -7,7 +7,7 @@ jobs: build-core: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/workflows/actions/build-core test-e2e: @@ -28,7 +28,7 @@ jobs: needs: [build-core] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/workflows/actions/test-e2e with: shard: ${{ matrix.shard }} @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest needs: [test-e2e] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Normally, we could just push with the # default GITHUB_TOKEN, but that will # not cause the build workflow