From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7840) id 58BBF3858D37; Thu, 27 Apr 2023 23:47:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 58BBF3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682639278; bh=vXAtaus0ShANMEvxqDFlJ3z9LBeERl6k46/6qN8EMjM=; h=From:To:Subject:Date:From; b=gc+A8Tl84IAnWZqV1UNHcfr0Q5yGE+hjxM8O2/a6a069rEnD5rXtta1ZKaBZuwxzT I6w/61wcaafnLIgFz0eTdYpM9pjiQz8pSDA4zwuzbcHhex5rshtmEWPUl5fP4M5F6F BryY648b3aLojdENnDQF0ZZjKOSjSNLwJfwhFyK4= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Eugene Rozenfeld To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/microsoft/heads/releases/gcc-11)] Update actions to versions that use Node.js 16 X-Act-Checkin: gcc X-Git-Author: Eugene Rozenfeld X-Git-Refname: refs/vendors/microsoft/heads/releases/gcc-11 X-Git-Oldrev: 37a78f3af8f438b3579ed68c51366951254603e9 X-Git-Newrev: 4ce27dfe5e22c0d3379efe92a547b6a1b40aad67 Message-Id: <20230427234758.58BBF3858D37@sourceware.org> Date: Thu, 27 Apr 2023 23:47:58 +0000 (GMT) List-Id: https://gcc.gnu.org/g:4ce27dfe5e22c0d3379efe92a547b6a1b40aad67 commit 4ce27dfe5e22c0d3379efe92a547b6a1b40aad67 Author: Eugene Rozenfeld Date: Wed Apr 26 18:45:45 2023 -0700 Update actions to versions that use Node.js 16 Node.js 12 actions are deprecated. Diff: --- .github/workflows/build.yaml | 6 +++--- .github/workflows/package-rpm.yaml | 4 ++-- .github/workflows/package-source-tarball.yaml | 2 +- .github/workflows/test-gcc.yaml | 8 ++++---- .github/workflows/update-main.yaml | 22 +++++++++++----------- .github/workflows/update-mirror-branches.yaml | 4 ++-- 6 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7e6f09472b3..a841ec92ab4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -42,14 +42,14 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive lfs: true - name: Setup Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 @@ -82,7 +82,7 @@ jobs: run: tar -czf objdir.tar.gz ../objdir - name: Upload build output - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: gccBuild path: objdir.tar.gz diff --git a/.github/workflows/package-rpm.yaml b/.github/workflows/package-rpm.yaml index 685de17f2da..73b2c7918bb 100644 --- a/.github/workflows/package-rpm.yaml +++ b/.github/workflows/package-rpm.yaml @@ -45,7 +45,7 @@ jobs: # Clone the GCC repository to path gcc. - name: Checkout GCC Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive @@ -89,7 +89,7 @@ jobs: # Upload gcc-${{ env.release_version }}-rpms folder to the Github Action artifact storage. # The variable ${{ env.release_version }} will be set by ./gcc/.github/actions/build-tarball job. - name: Upload GCC RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: gcc-${{ env.release_version }}-rpms path: /usr/src/mariner/RPMS/x86_64/ diff --git a/.github/workflows/package-source-tarball.yaml b/.github/workflows/package-source-tarball.yaml index b7672c15ac1..d0eef8cc0f0 100644 --- a/.github/workflows/package-source-tarball.yaml +++ b/.github/workflows/package-source-tarball.yaml @@ -59,7 +59,7 @@ jobs: # Upload gcc-${{ env.release_version }}.tar.xz file to the Github Action artifact storage. # The variable ${{ env.release_version }} will be set by ./gcc/.github/actions/build-tarball job. - name: Upload GCC tar.xz - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: gcc-${{ env.release_version }}.tar.xz path: ~/gcc-${{ env.release_version }}/gcc-${{ env.release_version }}.tar.xz diff --git a/.github/workflows/test-gcc.yaml b/.github/workflows/test-gcc.yaml index 6520568d4be..527fb8d12d2 100644 --- a/.github/workflows/test-gcc.yaml +++ b/.github/workflows/test-gcc.yaml @@ -53,14 +53,14 @@ jobs: matrixTestSet: ${{ steps.printGCCTestSet.outputs.testSet }} steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive lfs: true - name: Setup Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 @@ -117,7 +117,7 @@ jobs: lfs: true - name: Setup Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 @@ -140,7 +140,7 @@ jobs: run: mv ../objdir objdir - name: Upload build output - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.testSet }}_logs path: objdir/logs diff --git a/.github/workflows/update-main.yaml b/.github/workflows/update-main.yaml index ebff8bebd93..79fd829fa5c 100644 --- a/.github/workflows/update-main.yaml +++ b/.github/workflows/update-main.yaml @@ -47,14 +47,14 @@ jobs: matrixTestSet: ${{ steps.printGCCTestSet.outputs.testSet }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive lfs: true - name: Setup Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 @@ -107,7 +107,7 @@ jobs: run: tar -czf objdir.tar.gz ../objdir - name: Upload build output - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: gccBuild path: objdir.tar.gz @@ -141,7 +141,7 @@ jobs: lfs: true - name: Setup Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 @@ -185,7 +185,7 @@ jobs: run: mv ../objdir objdir - name: Upload test logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: master_${{ matrix.testSet }}_logs path: objdir/logs @@ -198,7 +198,7 @@ jobs: newBranchName: ${{ steps.setBranchName.outputs.newBranchName }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive @@ -206,7 +206,7 @@ jobs: token: ${{ secrets.VICTORPAT }} # The basic ${{ github.token }} doesn't include "workflows" write permission access to modify workflows in the .github directory - name: Setup Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 @@ -256,7 +256,7 @@ jobs: - name: Upload failures patch if: ${{ steps.check_failures_patch.outputs.files_exists }} == 'true' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: newFailures.patch path: newFailures.patch @@ -324,7 +324,7 @@ jobs: lfs: true - name: Setup Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 @@ -355,14 +355,14 @@ jobs: newFailuresPatchExists: ${{ steps.check_failures_patch.outputs.files_exists }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive lfs: true - name: Setup Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 diff --git a/.github/workflows/update-mirror-branches.yaml b/.github/workflows/update-mirror-branches.yaml index 216d1caf136..cc7b56fb7f0 100644 --- a/.github/workflows/update-mirror-branches.yaml +++ b/.github/workflows/update-mirror-branches.yaml @@ -58,7 +58,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive @@ -66,7 +66,7 @@ jobs: token: ${{ secrets.VICTORPAT }} # The basic ${{ github.token }} doesn't include "workflows" write permission access to modify workflows in the .github directory - name: Setup Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7