diff --git a/.github/workflows/build_release_template.yml b/.github/workflows/build_release_template.yml index 2b0ad631..8453fa9b 100644 --- a/.github/workflows/build_release_template.yml +++ b/.github/workflows/build_release_template.yml @@ -51,21 +51,21 @@ jobs: steps: # Clone all required repos - name: Clone dmd - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'dlang/dmd' ref: ${{ inputs.release_branch }} path: 'dmd' - name: Clone phobos - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'dlang/phobos' ref: ${{ inputs.release_branch }} path: 'phobos' - name: Clone dlang.org - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'dlang/dlang.org' ref: ${{ inputs.release_branch }} @@ -93,7 +93,7 @@ jobs: # Save the generated documentation for the target-specific builds - name: Upload generated docs as a temporary artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dmd-documentation path: dlang.org/web @@ -192,7 +192,7 @@ jobs: # Clone dlang/installer which provides the actual build scripts # - name: Clone installer repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ inputs.installer_repo }} ref: ${{ inputs.installer_branch }} @@ -201,7 +201,7 @@ jobs: # Load the generated documentation in the create_dmd_release folder # - name: Download docs generated by the previous job - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dmd-documentation path: create_dmd_release/docs @@ -306,7 +306,7 @@ jobs: # job(s) have access to all generated releases # - name: Upload generated release as a temporary artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: dmd-release path: | diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 01eac6c0..d0531448 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -22,12 +22,12 @@ jobs: LLVM_VER: 9.0.0 ARCH: ${{ matrix.arch }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 1 - shell: cmd run: call windows\build_lld.bat || exit /b - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: lld-${{ matrix.arch }} path: artifacts/ @@ -42,12 +42,12 @@ jobs: MINGW_VER: 8.0.0 D_VERSION: 2.077.1 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 1 - shell: cmd run: call windows\build_mingw.bat || exit /b - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: mingw-libs path: artifacts/ @@ -63,12 +63,12 @@ jobs: ZLIB_VER: 1.2.11 PEXPORTS_VER: 0.47 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 1 - shell: cmd run: call windows\build_curl.bat || exit /b - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: curl path: artifacts/ @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-20.04 timeout-minutes: 120 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 1 - name: Clone repos @@ -94,7 +94,7 @@ jobs: set -eux mkdir -p work/docs zip -r work/docs/docs.zip work/dlang.org/web - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: docs path: work/docs @@ -108,11 +108,11 @@ jobs: LDC_VSDIR: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\ HOST_LDC_VERSION: 1.23.0 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 1 - name: Download docs artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: docs path: docs/ @@ -162,7 +162,7 @@ jobs: cd .. || exit /b mkdir artifacts || exit /b copy windows\*.exe artifacts || exit /b - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: win_release path: artifacts/ diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml index da83e100..3d976a83 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test_release.yml @@ -51,12 +51,12 @@ jobs: steps: - name: Download generated releases from the artifacts id: download-release - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dmd-release - name: Clone installer repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: installer