public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Eugene Rozenfeld <erozen@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/microsoft/heads/main)] Update actions to versions that use Node.js 16 Date: Thu, 27 Apr 2023 23:38:00 +0000 (GMT) [thread overview] Message-ID: <20230427233800.B50023858CDA@sourceware.org> (raw) https://gcc.gnu.org/g:3fe375c4a9960e8354cb7f56a512d88767a63d8c commit 3fe375c4a9960e8354cb7f56a512d88767a63d8c Author: Eugene Rozenfeld <erozen@microsoft.com> 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
next reply other threads:[~2023-04-27 23:38 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-04-27 23:38 Eugene Rozenfeld [this message] 2023-05-02 23:18 Eugene Rozenfeld
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230427233800.B50023858CDA@sourceware.org \ --to=erozen@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).