Skip to content

Commit

Permalink
GitHub actions: Version up deprecated upload-artifact and download-ar…
Browse files Browse the repository at this point in the history
…tifact (#410)

Version up download-artifact and upload-artifact

upload-artifact:
v1 -> v3.0.0

download-artifact:
v2.0 -> v4.1.8
  • Loading branch information
jonathan-r-thorpe authored Oct 9, 2024
1 parent 6d64db8 commit 81c149e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v3.0.0
with:
name: ${{ env.BUILD_NAME }}_badges
path: ${{ runner.workspace }}/nmos-testing/badges

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v3.0.0
with:
name: ${{ env.BUILD_NAME }}_results
path: ${{ runner.workspace }}/nmos-testing/results
Expand Down Expand Up @@ -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@v3.0.0
with:
name: ${{ env.BUILD_NAME }}_badges
path: ${{ runner.workspace }}/nmos-testing/badges

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v3.0.0
with:
name: ${{ env.BUILD_NAME }}_results
path: ${{ runner.workspace }}/nmos-testing/results
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/src/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/src/save-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v3.0.0
with:
name: ${{ env.BUILD_NAME }}_badges
path: ${{ runner.workspace }}/nmos-testing/badges

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v3.0.0
with:
name: ${{ env.BUILD_NAME }}_results
path: ${{ runner.workspace }}/nmos-testing/results

0 comments on commit 81c149e

Please sign in to comment.