From 2ea03d1f6d0a05ee2b63ed2dc0f2d54f1e4655a1 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 8 Nov 2022 09:21:10 +1100 Subject: [PATCH] Update checkout and upload actions. Update actions/checkout and actions/upload-artifact to main branch for compatibility with node.js v16. --- .github/workflows/c-cpp.yml | 6 +++--- .github/workflows/cifuzz.yml | 2 +- .github/workflows/selfhosted.yml | 6 +++--- .github/workflows/upstream.yml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 3d55f8455..e1fbcdb8a 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -88,7 +88,7 @@ jobs: - name: install cygwin if: ${{ startsWith(matrix.os, 'windows') }} uses: cygwin/cygwin-install-action@master - - uses: actions/checkout@v2 + - uses: actions/checkout@main - name: setup CI system run: sh ./.github/setup_ci.sh ${{ matrix.configs }} - name: autoreconf @@ -96,7 +96,7 @@ jobs: - name: configure run: sh ./.github/configure.sh ${{ matrix.configs }} - name: save config - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@main with: name: ${{ matrix.os }}-${{ matrix.configs }}-config path: config.h @@ -111,7 +111,7 @@ jobs: TEST_SSH_HOSTBASED_AUTH: yes - name: save logs if: failure() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@main with: name: ${{ matrix.os }}-${{ matrix.configs }}-logs path: | diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 829e682f8..7ca8c4719 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -25,7 +25,7 @@ jobs: dry-run: false language: c++ - name: Upload Crash - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@main if: failure() && steps.build.outcome == 'success' with: name: artifacts diff --git a/.github/workflows/selfhosted.yml b/.github/workflows/selfhosted.yml index 2c03d148d..f761f5bfb 100644 --- a/.github/workflows/selfhosted.yml +++ b/.github/workflows/selfhosted.yml @@ -74,7 +74,7 @@ jobs: steps: - name: shutdown VM if running run: vmshutdown - - uses: actions/checkout@v2 + - uses: actions/checkout@main - name: autoreconf run: autoreconf - name: startup VM @@ -82,7 +82,7 @@ jobs: - name: configure run: vmrun ./.github/configure.sh ${{ matrix.configs }} - name: save config - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@main with: name: ${{ matrix.os }}-${{ matrix.configs }}-config path: config.h @@ -95,7 +95,7 @@ jobs: timeout-minutes: 600 - name: save logs if: failure() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@main with: name: ${{ matrix.os }}-${{ matrix.configs }}-logs path: | diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index 8a28468d0..46672d6fc 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -17,7 +17,7 @@ jobs: os: [ obsdsnap, obsdsnap-i386 ] configs: [ default, without-openssl, ubsan ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@main - name: shutdown VM if running run: vmshutdown - name: startup VM @@ -37,7 +37,7 @@ jobs: timeout-minutes: 300 - name: save logs if: failure() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@main with: name: ${{ matrix.os }}-${{ matrix.configs }}-logs path: |