From: Vincent Fu Date: Wed, 24 Jan 2024 18:58:11 +0000 (+0000) Subject: ci: resolve GitHub Actions Node.js warnings X-Git-Tag: fio-3.37~64 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=7f250f7514bacef1a3cea24a22ecce8bd30378bd ci: resolve GitHub Actions Node.js warnings Switch from actions/checkout@v3 to v4 and from actions/upload-artifacts@v3 to v4. This resolves the below warnings from GitHub Actions: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ Signed-off-by: Vincent Fu --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8000024..e53082c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,7 +64,7 @@ jobs: if: ${{ contains( matrix.build, 'windows' ) }} run: git config --global core.autocrlf input - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Cygwin toolchain (Windows) if: ${{ startsWith(matrix.build, 'windows-cygwin') }} uses: cygwin/cygwin-install-action@master @@ -110,7 +110,7 @@ jobs: - name: Upload installer as artifact (Windows) if: ${{ contains( matrix.build, 'windows' ) }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.build }}-installer path: os\windows\*.msi