From 02c08d8a3bc2035b5b3e9976854d3288b1039b38 Mon Sep 17 00:00:00 2001 From: Walter Perdan Date: Wed, 16 Oct 2024 15:00:42 +0200 Subject: [PATCH] fix for build action files --- .github/workflows/CI.yml | 8 ++++---- .github/workflows/build.yml | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1b327e66..21c54d1c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -8,18 +8,18 @@ jobs: strategy: matrix: node: - - 16.x + - 20.x runs-on: ubuntu-latest name: Node.js ${{ matrix.node }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd9a1b5e..5771e843 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,14 +12,14 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -36,7 +36,7 @@ jobs: echo ${{ steps.vars.outputs.tag }} - run: | yarn - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist path: dist @@ -48,9 +48,9 @@ jobs: with: default_author: github_actions message: new dist files from action - add: "dist/ARnft.js" + add: "dist/ARnft.js" - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: |