From 9f11bb249f9e809d0789c37fdf202dff648f865a Mon Sep 17 00:00:00 2001 From: jonathan-r-thorpe Date: Mon, 7 Oct 2024 17:22:34 +0100 Subject: [PATCH] Version up download-artifact and upload-artifact --- .github/workflows/build-test.yml | 10 +++++----- .github/workflows/src/build-test.yml | 2 +- .github/workflows/src/save-results.yml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index e5a813a87..2296bf80c 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -587,12 +587,12 @@ jobs: export SHEET=https://docs.google.com/spreadsheets/d/${{ env.SECRET_RESULTS_SHEET_ID }} python nmos-testing/utilities/run-test-suites/gsheetsImport/resultsImporter.py --credentials ${{ env.GDRIVE_CREDENTIALS }} --sheet "$SHEET" --insert --json nmos-testing/results/${{ env.GITHUB_COMMIT }}-*.json || echo "upload failed" - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4.4.1 with: name: ${{ env.BUILD_NAME }}_badges path: ${{ runner.workspace }}/nmos-testing/badges - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4.4.1 with: name: ${{ env.BUILD_NAME }}_results path: ${{ runner.workspace }}/nmos-testing/results @@ -1145,12 +1145,12 @@ jobs: export SHEET=https://docs.google.com/spreadsheets/d/${{ env.SECRET_RESULTS_SHEET_ID }} python nmos-testing/utilities/run-test-suites/gsheetsImport/resultsImporter.py --credentials ${{ env.GDRIVE_CREDENTIALS }} --sheet "$SHEET" --insert --json nmos-testing/results/${{ env.GITHUB_COMMIT }}-*.json || echo "upload failed" - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4.4.1 with: name: ${{ env.BUILD_NAME }}_badges path: ${{ runner.workspace }}/nmos-testing/badges - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4.4.1 with: name: ${{ env.BUILD_NAME }}_results path: ${{ runner.workspace }}/nmos-testing/results @@ -1171,7 +1171,7 @@ jobs: echo "GITHUB_WORKSPACE=${{ github.workspace }}" >> $GITHUB_ENV echo "RUNNER_WORKSPACE=${{ runner.workspace }}" >> $GITHUB_ENV - - uses: actions/download-artifact@v2.0 + - uses: actions/download-artifact@v4.1.8 with: path: ${{ runner.workspace }}/artifacts diff --git a/.github/workflows/src/build-test.yml b/.github/workflows/src/build-test.yml index 76a224270..2afcb95a1 100644 --- a/.github/workflows/src/build-test.yml +++ b/.github/workflows/src/build-test.yml @@ -199,7 +199,7 @@ jobs: echo "GITHUB_WORKSPACE=${{ github.workspace }}" >> $GITHUB_ENV echo "RUNNER_WORKSPACE=${{ runner.workspace }}" >> $GITHUB_ENV - - uses: actions/download-artifact@v2.0 + - uses: actions/download-artifact@v4.1.8 with: path: ${{ runner.workspace }}/artifacts diff --git a/.github/workflows/src/save-results.yml b/.github/workflows/src/save-results.yml index fc04cd259..346e88c7e 100644 --- a/.github/workflows/src/save-results.yml +++ b/.github/workflows/src/save-results.yml @@ -6,12 +6,12 @@ export SHEET=https://docs.google.com/spreadsheets/d/${{ env.SECRET_RESULTS_SHEET_ID }} python nmos-testing/utilities/run-test-suites/gsheetsImport/resultsImporter.py --credentials ${{ env.GDRIVE_CREDENTIALS }} --sheet "$SHEET" --insert --json nmos-testing/results/${{ env.GITHUB_COMMIT }}-*.json || echo "upload failed" -- uses: actions/upload-artifact@v1 +- uses: actions/upload-artifact@v4.4.1 with: name: ${{ env.BUILD_NAME }}_badges path: ${{ runner.workspace }}/nmos-testing/badges -- uses: actions/upload-artifact@v1 +- uses: actions/upload-artifact@v4.4.1 with: name: ${{ env.BUILD_NAME }}_results path: ${{ runner.workspace }}/nmos-testing/results