From a8a817a5cc82cda687ae98109d7283e8c40cee1d Mon Sep 17 00:00:00 2001 From: Andrew Bird Date: Fri, 28 Oct 2022 10:18:38 +0100 Subject: [PATCH 1/2] CI: Update std actions to avoid node version warnings --- .github/workflows/ci-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index cda4453a..0125c02f 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Package install run: | @@ -42,7 +42,7 @@ jobs: - name: upload if: github.repository == 'FDOS/freecom' && (github.event_name == 'push' || github.event.pull_request.merged == true) - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ steps.snapshotname.outputs.fname }} path: _output From 8039ffe79906a9d950d2abbfb8f5dbfa33672b7e Mon Sep 17 00:00:00 2001 From: Andrew Bird Date: Fri, 28 Oct 2022 10:19:53 +0100 Subject: [PATCH 2/2] CI: Update deprecated output method --- .github/workflows/ci-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 0125c02f..29e76c9b 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -36,7 +36,7 @@ jobs: ( today=`date -u +%F | tr '\n' '-'` s_sha=`echo -n ${GITHUB_SHA} | cut -c1-8` - printf '::set-output name=fname::snapshot-%s%s\n' $today $s_sha + printf "fname=snapshot-%s%s\n" $today $s_sha >> $GITHUB_OUTPUT ) - name: upload