From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7840) id 7AB353858D33; Wed, 21 Feb 2024 03:45:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7AB353858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708487147; bh=QfH6kLq+mVdPDXB/C9Nd9mwLqcpxXJkShGs4P97uMOs=; h=From:To:Subject:Date:From; b=WG4rSoKRTA9x+2JojWjqGM4PnB+nGEkd5rbehsSVVXewyIXiYlUYulBS/DnsGOntG cjUaQ07nX3PcBxI2hQ76HAEA/E024nphFjEo7FLw6IFeCW1mYlvOQOpl6sV6MCsziF xrlgMsc0KxY6mj9vPF7CnVnKtMGdDjwIXTUTjHyA= 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/main)] Update action versions X-Act-Checkin: gcc X-Git-Author: Eugene Rozenfeld X-Git-Refname: refs/vendors/microsoft/heads/main X-Git-Oldrev: db7a2fe1140a649b65072f1da1ae0a48220ad99d X-Git-Newrev: 1e78b0221ea8bfb3c8f472e5129b4538e06bdd80 Message-Id: <20240221034547.7AB353858D33@sourceware.org> Date: Wed, 21 Feb 2024 03:45:47 +0000 (GMT) List-Id: https://gcc.gnu.org/g:1e78b0221ea8bfb3c8f472e5129b4538e06bdd80 commit 1e78b0221ea8bfb3c8f472e5129b4538e06bdd80 Author: Eugene Rozenfeld Date: Tue Feb 20 19:25:52 2024 -0800 Update action versions The outdated action versions were using deprecated Node.js 16. Diff: --- .github/workflows/build.yaml | 6 +++--- .github/workflows/delete-merge-branches.yaml | 2 +- .github/workflows/package-rpm.yaml | 4 ++-- .github/workflows/package-source-tarball.yaml | 4 ++-- .github/workflows/test-gcc.yaml | 10 ++++----- .github/workflows/update-main.yaml | 30 +++++++++++++-------------- .github/workflows/update-mirror-branches.yaml | 4 ++-- 7 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7b95beab24bc..6e601ef4ad4f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -54,7 +54,7 @@ jobs: .github/scripts/free-disk-space.sh - name: Setup Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.7 @@ -87,7 +87,7 @@ jobs: run: tar -czf objdir.tar.gz ../objdir - name: Upload build output - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: gccBuild path: objdir.tar.gz diff --git a/.github/workflows/delete-merge-branches.yaml b/.github/workflows/delete-merge-branches.yaml index b75e270e4255..71f899e9ab95 100644 --- a/.github/workflows/delete-merge-branches.yaml +++ b/.github/workflows/delete-merge-branches.yaml @@ -37,7 +37,7 @@ jobs: matrixTestSet: ${{ steps.printGCCTestSet.outputs.testSet }} steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive diff --git a/.github/workflows/package-rpm.yaml b/.github/workflows/package-rpm.yaml index 73b2c7918bbe..185afc17ca40 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@v3 + uses: actions/checkout@v4 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@v3 + uses: actions/upload-artifact@v4 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 3327f0726608..45bbcce7cb6b 100644 --- a/.github/workflows/package-source-tarball.yaml +++ b/.github/workflows/package-source-tarball.yaml @@ -45,7 +45,7 @@ jobs: # Clone the GCC repository to path gcc. - name: Checkout GCC Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -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@v3 + uses: actions/upload-artifact@v4 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 2a7d9c14a472..82f4e815402c 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@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive lfs: true - name: Setup Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.7 @@ -110,7 +110,7 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -122,7 +122,7 @@ jobs: .github/scripts/free-disk-space.sh - name: Setup Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.7 @@ -145,7 +145,7 @@ jobs: run: mv ../objdir objdir - name: Upload build output - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.testSet }}_logs path: objdir/logs diff --git a/.github/workflows/update-main.yaml b/.github/workflows/update-main.yaml index 91e22d58e50a..b74af6da976f 100644 --- a/.github/workflows/update-main.yaml +++ b/.github/workflows/update-main.yaml @@ -47,7 +47,7 @@ jobs: matrixTestSet: ${{ steps.printGCCTestSet.outputs.testSet }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -60,7 +60,7 @@ jobs: - name: Setup Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.7 @@ -113,7 +113,7 @@ jobs: run: tar -czf objdir.tar.gz ../objdir - name: Upload build output - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: gccBuild path: objdir.tar.gz @@ -140,7 +140,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -152,7 +152,7 @@ jobs: .github/scripts/free-disk-space.sh - name: Setup Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.7 @@ -172,7 +172,7 @@ jobs: # for download through the REST API until after the workflow has completed. We can only get the workflows from the # previous steps through the download-artifact action. - name: Download gccBuild artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: gccBuild path: gccBuild @@ -196,7 +196,7 @@ jobs: run: mv ../objdir objdir - name: Upload test logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: master_${{ matrix.testSet }}_logs path: objdir/logs @@ -209,7 +209,7 @@ jobs: newBranchName: ${{ steps.setBranchName.outputs.newBranchName }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -217,7 +217,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@v4 + uses: actions/setup-python@v5 with: python-version: 3.7 @@ -240,7 +240,7 @@ jobs: # so we'll have to download the GCC build earlier, which isn't necessary for this step since we only # care about the test logs. # To make this faster, we can avoid downloading the GCC build in the future - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: artifacts @@ -267,7 +267,7 @@ jobs: - name: Upload failures patch if: ${{ steps.check_failures_patch.outputs.files_exists }} == 'true' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: newFailures.patch path: newFailures.patch @@ -328,14 +328,14 @@ jobs: newFailuresPatchExists: ${{ steps.check_failures_patch.outputs.files_exists }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive lfs: true - name: Setup Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.7 @@ -366,14 +366,14 @@ jobs: newFailuresPatchExists: ${{ steps.check_failures_patch.outputs.files_exists }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive lfs: true - name: Setup Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.7 diff --git a/.github/workflows/update-mirror-branches.yaml b/.github/workflows/update-mirror-branches.yaml index baba7ada092a..d0faa5524423 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@v3 + uses: actions/checkout@v4 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@v4 + uses: actions/setup-python@v5 with: python-version: 3.7