diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 9b54303f123..2d65b3372e2 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -119,7 +119,7 @@ jobs: - name: Upload build log if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: meson-log.txt path: modflow6/builddir/meson-logs/meson-log.txt @@ -178,7 +178,7 @@ jobs: - name: Upload reports if: success() || failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: compat path: compat/*.csv @@ -205,7 +205,7 @@ jobs: run: pip install tabulate pandas - name: Download reports - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: compat path: .github/compat/new @@ -228,7 +228,7 @@ jobs: # only upload wide CSVs and Markdown tables - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: compat path: | diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3d5bfaeb77b..f48a9b53262 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -145,7 +145,7 @@ jobs: run: cat run-time-comparison.md - name: Upload benchmarks - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: run-time-comparison path: modflow6/distribution/run-time-comparison.md @@ -159,7 +159,7 @@ jobs: run: cat deprecations.md - name: Upload deprecations - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: deprecations path: modflow6/doc/mf6io/mf6ivar/md/deprecations.md @@ -169,7 +169,7 @@ jobs: run: pixi run sphinx - name: Upload RTD files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: rtd-files-for-${{ github.sha }} path: | @@ -186,7 +186,7 @@ jobs: run: pixi run build-docs - name: Upload PDF documents - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: mf6io.pdf path: | @@ -253,7 +253,7 @@ jobs: working-directory: ${{env.working-directory}} - name: upload pages artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: ${{env.working-directory}}/html diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 48d5de12069..7db6203ae4d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -260,7 +260,7 @@ jobs: if exist rebuilt rd /s /q downloaded - name: Upload binaries - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: bin-${{ steps.ostag.outputs.ostag }} path: modflow6/bin @@ -427,7 +427,7 @@ jobs: echo "ostag=$ostag" >> $GITHUB_OUTPUT - name: Download pre-built binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bin-${{ steps.ostag.outputs.ostag }} path: bin @@ -464,7 +464,7 @@ jobs: cat md/deprecations.md - name: Upload deprecations - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: deprecations path: modflow6/doc/mf6io/mf6ivar/md/deprecations.md @@ -493,7 +493,7 @@ jobs: mv "doc/ReleaseNotes.pdf" "doc/release.pdf" - name: Upload documentation artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: doc path: doc @@ -572,7 +572,7 @@ jobs: echo "ostag=$ostag" >> $GITHUB_OUTPUT - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ${{ needs.build.outputs.distname }}_${{ steps.ostag.outputs.ostag }} @@ -682,14 +682,14 @@ jobs: fi - name: Upload distribution - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "${{ needs.build.outputs.distname }}_${{ steps.ostag.outputs.ostag }}" path: "${{ needs.build.outputs.distname }}_${{ steps.ostag.outputs.ostag }}.zip" - name: Upload release notes if: runner.os == 'Linux' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: release_notes path: "${{ needs.build.outputs.distname }}_${{ steps.ostag.outputs.ostag }}/doc/release.pdf"