diff --git a/.github/workflows/CI_alpine.yml b/.github/workflows/CI_alpine.yml index 0e8266824d0..83b1ba74bc6 100644 --- a/.github/workflows/CI_alpine.yml +++ b/.github/workflows/CI_alpine.yml @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' diff --git a/.github/workflows/CI_archlinux.yml b/.github/workflows/CI_archlinux.yml index 08e7e8f1630..7d6bb14ea46 100644 --- a/.github/workflows/CI_archlinux.yml +++ b/.github/workflows/CI_archlinux.yml @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' diff --git a/.github/workflows/CI_emscripten.yml b/.github/workflows/CI_emscripten.yml index 944e02a8d25..bf4bed5d0f2 100644 --- a/.github/workflows/CI_emscripten.yml +++ b/.github/workflows/CI_emscripten.yml @@ -48,7 +48,7 @@ jobs: WZ_GITHUB_REF: ${{ steps.checkout-config.outputs.WZ_GITHUB_REF }} WZ_GITHUB_SHA: ${{ steps.checkout-config.outputs.WZ_GITHUB_SHA }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -146,7 +146,7 @@ jobs: echo "WZ_FULL_OUTPUT_ZIP_PATH=${OUTPUT_DIR}/${OUTPUT_FILE_NAME}" >> $GITHUB_ENV - name: 'Upload Artifact - (Archive)' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() && (matrix.upload_artifact == true) && (github.repository == 'Warzone2100/warzone2100') with: name: warzone2100_${{ env.WZ_BUILD_DESC }}_archive @@ -171,7 +171,7 @@ jobs: - name: Prep Environment run: mkdir dl-archive - name: Download Archive Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'warzone2100_${{ env.WZ_BUILD_DESC }}_archive' path: ./dl-archive diff --git a/.github/workflows/CI_fedora.yml b/.github/workflows/CI_fedora.yml index add67260361..a2f0343f97f 100644 --- a/.github/workflows/CI_fedora.yml +++ b/.github/workflows/CI_fedora.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' diff --git a/.github/workflows/CI_flatpak.yml b/.github/workflows/CI_flatpak.yml index d75c67df8b1..b0ce5fabf64 100644 --- a/.github/workflows/CI_flatpak.yml +++ b/.github/workflows/CI_flatpak.yml @@ -87,7 +87,7 @@ jobs: uses: docker/setup-qemu-action@v2 with: platforms: ${{ matrix.arch }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -246,12 +246,12 @@ jobs: ############################################################### # Upload the .flatpak and debugsymbols artifacts - name: Upload Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'warzone2100_linux_flatpak_${{ matrix.arch }}' path: ${{ steps.settings.outputs.WZ_FLATPAK_BUNDLE }} - name: Upload debug info - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'debugsymbols_linux_flatpak_${{ matrix.arch }}' path: | @@ -275,7 +275,7 @@ jobs: objdump -p flatpak_app/files/bin/warzone2100 | grep NEEDED | grep -E -v 'linux-vdso|ld-linux-' | awk 'NF == 2 { system("echo " $2 " && cp /var/lib/flatpak/runtime/org.freedesktop.Platform/${WZ_FLATPAK_TARGET_ARCH}/${WZ_FREEDESKTOP_RUNTIME_VERSION}/active/files/lib/${WZ_FLATPAK_TARGET_ARCH}-linux-gnu/" $2 " output_debug_dependency_snapshot") }' fi - name: Upload additional debug dependency info - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'debugdependencylibsnapshot_linux_flatpak_${{ matrix.arch }}' path: | @@ -299,7 +299,7 @@ jobs: echo " -> Size (bytes): $(stat -c %s "${REPO_TAR_FILE}")" - name: Upload ostree repo if: success() && (github.event_name == 'release' && github.event.action == 'published') - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'ostree_repo_flatpak_${{ matrix.arch }}_${{ steps.settings.outputs.WZ_FLATPAK_BRANCH }}' path: '${{ steps.repo-tar.outputs.REPO_TAR_FILE }}' @@ -327,12 +327,12 @@ jobs: mkdir -p dl-debug/symbols mkdir -p dl-debug/additional - name: Download Debug Symbols - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'debugsymbols_linux_flatpak_${{ matrix.arch }}' path: ./dl-debug/symbols - name: Download Additional Debug Files - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'debugdependencylibsnapshot_linux_flatpak_${{ matrix.arch }}' path: ./dl-debug/additional @@ -372,7 +372,7 @@ jobs: run: | mkdir dl-artifacts - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'warzone2100_linux_flatpak_${{ matrix.arch }}' path: ./dl-artifacts @@ -444,7 +444,7 @@ jobs: curl -Lf https://raw.githubusercontent.com/flatpak/flat-manager/master/flat-manager-client --output /usr/bin/flat-manager-client chmod +x /usr/bin/flat-manager-client echo "::endgroup::" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: 'src' set-safe-directory: true @@ -452,7 +452,7 @@ jobs: run: | mkdir dl-artifacts - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'ostree_repo_flatpak_${{ matrix.arch }}_${{ needs.build-flatpak.outputs.WZ_FLATPAK_BRANCH }}' path: ./dl-artifacts diff --git a/.github/workflows/CI_linter.yml b/.github/workflows/CI_linter.yml index fe74c5c17be..1a14fbcd841 100644 --- a/.github/workflows/CI_linter.yml +++ b/.github/workflows/CI_linter.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 diff --git a/.github/workflows/CI_macos.yml b/.github/workflows/CI_macos.yml index 0633913d520..f9b74c2ef88 100644 --- a/.github/workflows/CI_macos.yml +++ b/.github/workflows/CI_macos.yml @@ -66,7 +66,7 @@ jobs: VCPKG_DEFAULT_TRIPLET: '${{ matrix.vcpkg_triplet }}' ARCHS: '${{ matrix.osx_target_arch }}' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -201,7 +201,7 @@ jobs: echo "WZ_FULL_OUTPUT_ZIP_PATH=${OUTPUT_DIR}/${DESIRED_ZIP_NAME}" >> $GITHUB_ENV exit 0 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: success() && (matrix.publish_artifact == true) with: name: "warzone2100_macOS_${{ matrix.artifact_suffix }}" @@ -215,7 +215,7 @@ jobs: needs: macos-build runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -235,7 +235,7 @@ jobs: echo "OUTPUT_DIR=output" >> $GITHUB_ENV - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ./dl-artifacts - name: Display structure of downloaded files @@ -293,7 +293,7 @@ jobs: echo "WZ_FULL_OUTPUT_ZIP_PATH=${OUTPUT_DIR}/${DESIRED_ZIP_NAME}" >> $GITHUB_ENV exit 0 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: "warzone2100_macOS_universal" path: ${{ env.WZ_FULL_OUTPUT_ZIP_PATH }} @@ -351,7 +351,7 @@ jobs: echo "WZ_FULL_OUTPUT_ZIP_PATH=${OUTPUT_DIR}/${DESIRED_ZIP_NAME}" >> $GITHUB_ENV exit 0 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: "warzone2100_macOS_universal_novideos" path: ${{ env.WZ_FULL_OUTPUT_ZIP_PATH }} @@ -383,7 +383,7 @@ jobs: run: | mkdir dl-archive - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'warzone2100_macOS_universal_novideos' path: ./dl-archive diff --git a/.github/workflows/CI_snapcraft.yml b/.github/workflows/CI_snapcraft.yml index 141ccfcda0b..f7c18f0ff05 100644 --- a/.github/workflows/CI_snapcraft.yml +++ b/.github/workflows/CI_snapcraft.yml @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-20.04 # Use instead of ubuntu-latest until https://github.com/snapcore/action-build/issues/42 is resolved if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Configure Repo Checkout @@ -112,7 +112,7 @@ jobs: echo " -> SHA512: $(sha512sum "${OUTPUT_DIR}/${OUTPUT_FILE_NAME}")" echo " -> Size (bytes): $(stat -c %s "${OUTPUT_DIR}/${OUTPUT_FILE_NAME}")" echo "WZ_FULL_OUTPUT_SNAP_PATH=${OUTPUT_DIR}/${OUTPUT_FILE_NAME}" >> $GITHUB_ENV - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: success() with: name: 'warzone2100_linux_${{ matrix.arch }}_snap' diff --git a/.github/workflows/CI_ubuntu.yml b/.github/workflows/CI_ubuntu.yml index 10d645142ec..0f5a6c32b3b 100644 --- a/.github/workflows/CI_ubuntu.yml +++ b/.github/workflows/CI_ubuntu.yml @@ -67,7 +67,7 @@ jobs: # Needed by the release + other later jobs - despite this being a matrix job, this should be the same for all, so we can allow whatever is last to persist it WZ_GITHUB_REF: ${{ steps.checkout-config.outputs.WZ_GITHUB_REF }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -174,7 +174,7 @@ jobs: echo " -> SHA512: $(sha512sum "${OUTPUT_DIR}/${OUTPUT_FILE_NAME}")" echo " -> Size (bytes): $(stat -c %s "${OUTPUT_DIR}/${OUTPUT_FILE_NAME}")" echo "WZ_FULL_OUTPUT_DEB_PATH=${OUTPUT_DIR}/${OUTPUT_FILE_NAME}" >> $GITHUB_ENV - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: success() && (matrix.publish_artifact == true) with: name: "warzone2100_${{ matrix.output-suffix }}_${{ matrix.arch }}_deb" @@ -188,7 +188,7 @@ jobs: WZ_EXECUTABLE_PATH="${WZ_BUILD_DIR}/src/warzone2100${WZ_OUTPUT_NAME_SUFFIX}" objcopy --only-keep-debug "${WZ_EXECUTABLE_PATH}" "warzone2100${WZ_OUTPUT_NAME_SUFFIX}.debug" - name: Upload debug info - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() && (matrix.publish_artifact == true) with: name: 'debugsymbols_${{ matrix.output-suffix }}_${{ matrix.arch }}' @@ -216,7 +216,7 @@ jobs: run: | echo "GITHUB_REF=${GITHUB_REF}" echo "GITHUB_HEAD_REF=${GITHUB_HEAD_REF}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -273,7 +273,7 @@ jobs: echo "Generated warzone2100 tarball: \"warzone2100_src.tar.xz\"" echo " -> SHA512: $(sha512sum "${OUTPUT_DIR}/warzone2100_src.tar.xz")" echo " -> Size (bytes): $(stat -c %s "${OUTPUT_DIR}/warzone2100_src.tar.xz")" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: success() with: name: warzone2100_src @@ -310,7 +310,7 @@ jobs: run: | mkdir dl-debug-symbols - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'debugsymbols_${{ matrix.output-suffix }}_${{ matrix.arch }}' path: ./dl-debug-symbols @@ -337,7 +337,7 @@ jobs: # runs-on: ubuntu-latest # if: "!contains(github.event.head_commit.message, '[ci skip]')" # steps: - # - uses: actions/checkout@v3 + # - uses: actions/checkout@v4 # with: # fetch-depth: 0 # - name: Prepare Git Repo for autorevision diff --git a/.github/workflows/CI_windows.yml b/.github/workflows/CI_windows.yml index 61206e194db..c0441f72899 100644 --- a/.github/workflows/CI_windows.yml +++ b/.github/workflows/CI_windows.yml @@ -69,7 +69,7 @@ jobs: runs-on: windows-2022 if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src' @@ -534,7 +534,7 @@ jobs: & "${env:WZ_FULL_CMAKE_PATH}\cmake.exe" -DCMAKE_C_COMPILER="${env:WZ_MINGW_PKG_PREFIX}-gcc" -DCMAKE_CXX_COMPILER="${env:WZ_MINGW_PKG_PREFIX}-g++" -DCMAKE_RC_COMPILER="${env:WZ_MINGW_PKG_PREFIX}-windres" -DCMAKE_ASM_MASM_COMPILER="${env:WZ_ASM_MASM_COMPILER}" -DWZ_MINGW_DIST_PATH="${env:WZ_MINGW_DIST_PATH}" -DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}\build\vcpkg\scripts\buildsystems\vcpkg.cmake" -DCMAKE_BUILD_TYPE=Release -DWZ_DISTRIBUTOR:STRING="${env:WZ_DISTRIBUTOR}" -DDISCORD_RPC_APPID:STRING="${env:DISCORD_RPC_APPID}" -DWZ_BUILD_SENTRY:BOOL=${WZ_BUILD_SENTRY_VALUE} ${SENTRY_DSN_PARAM} ${SENTRY_BACKEND_PARAM} -G "Ninja" "${{ steps.settings.outputs.WZ_REPO_PATH }}" echo "::remove-matcher owner=cmake::" - name: Upload vcpkg logs (on failure) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: win_${{ matrix.architecture }}_vcpkg_logs @@ -582,7 +582,7 @@ jobs: Copy-Item -LiteralPath "$NSIS_Log" -Destination ".\output\error_logs" } - name: Upload Failure Logs Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: win_${{ matrix.architecture }}_error_logs @@ -634,28 +634,28 @@ jobs: # Upload build artifacts ##################################################### - name: 'Upload Artifact - (Portable Build)' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() && (github.repository == 'Warzone2100/warzone2100') with: name: warzone2100_${{ steps.settings.outputs.WZ_BUILD_DESC }}_portable path: '${{ github.workspace }}\output\portable' if-no-files-found: 'error' - name: 'Upload Artifact - (Regular Installer)' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() && (github.repository == 'Warzone2100/warzone2100') with: name: warzone2100_${{ steps.settings.outputs.WZ_BUILD_DESC }}_installer path: '${{ github.workspace }}\output\installer' if-no-files-found: 'error' - name: 'Upload Artifact - (Debug Symbols)' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() && (github.repository == 'Warzone2100/warzone2100') with: name: warzone2100_${{ steps.settings.outputs.WZ_BUILD_DESC }}_DEBUGSYMBOLS path: '${{ github.workspace }}\output\debugsymbols' if-no-files-found: 'error' - name: 'Upload Artifact - (Archive)' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() && ((github.event_name == 'push' && github.ref == 'refs/heads/master') || (github.event_name == 'workflow_run' && github.event.workflow_run.name == 'Draft Tag Release')) && (matrix.deploy_release == true) && (github.repository == 'Warzone2100/warzone2100') with: name: warzone2100_${{ steps.settings.outputs.WZ_BUILD_DESC }}_archive @@ -713,7 +713,7 @@ jobs: Get-ChildItem -Path "${env:SOURCE_BUNDLE_OUTPUT_DIR}" -Recurse - name: Upload Sentry source bundles if: success() && (github.repository == 'Warzone2100/warzone2100') && (matrix.support_sentry == true) && (steps.settings.outputs.WZ_ENABLE_SENTRY == 'true') && (steps.create-sentry-source-bundle.outcome == 'success') - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'warzone2100_${{ steps.settings.outputs.WZ_BUILD_DESC }}_debug_sourcebundles' path: '${{ github.workspace }}\output\sentry_source_bundles' @@ -746,7 +746,7 @@ jobs: echo "OUTPUTDIR=${OUTPUTDIR}" >> $GITHUB_ENV echo "ARCHIVEDIR=${OUTPUTDIR}" >> $GITHUB_OUTPUT - name: Download Archive Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'warzone2100_win_${{ matrix.architecture }}_archive' path: ./dl-archive @@ -756,7 +756,7 @@ jobs: unzip -o "${ZIPFILE}" -d "${OUTPUTDIR}" && rm "${ZIPFILE}" - name: Download Debug Symbols Artifact continue-on-error: true - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'warzone2100_win_${{ matrix.architecture }}_DEBUGSYMBOLS' path: ./dl-archive @@ -775,7 +775,7 @@ jobs: fi - name: Download Source Bundle continue-on-error: true - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'warzone2100_win_${{ matrix.architecture }}_debug_sourcebundles' path: ./dl-sourcebundle diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1c74b6c2980..1931ddfedae 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/draft_tag_release.yml b/.github/workflows/draft_tag_release.yml index b8f5c48e87d..3e4569ee334 100644 --- a/.github/workflows/draft_tag_release.yml +++ b/.github/workflows/draft_tag_release.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo (to obtain template files) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 1 diff --git a/.github/workflows/generate_snap_stable_config.yml b/.github/workflows/generate_snap_stable_config.yml index 2909707600e..ff145aea2c5 100644 --- a/.github/workflows/generate_snap_stable_config.yml +++ b/.github/workflows/generate_snap_stable_config.yml @@ -77,21 +77,21 @@ jobs: sudo rm -rf _dl/ - name: Checkout (Latest) if: github.event.inputs.git-ref == '' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: warzone2100 submodules: recursive persist-credentials: false - name: Checkout (Custom Ref) if: github.event.inputs.git-ref != '' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: warzone2100 submodules: recursive persist-credentials: false ref: '${{ github.event.inputs.git-ref }}' - name: Checkout snap-stable-build@master - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'Warzone2100/snap-stable-build' ref: master @@ -179,7 +179,7 @@ jobs: echo "snapstablebuild.diff (SHA512: ${DIFF_HASH}):" cat "${{ github.workspace }}/diff/snapstablebuild.diff" - name: Upload diff artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() && (github.repository == 'Warzone2100/warzone2100') && (steps.commit-snap-changes.outputs.PROCESS_DEPLOYMENT == 'true') with: name: snap_stable_build_diff @@ -195,14 +195,14 @@ jobs: if: (github.event_name == 'release') || (github.event_name == 'workflow_dispatch') steps: - name: Checkout snap-stable-build@master - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'Warzone2100/snap-stable-build' ref: master path: snap-stable-build ssh-key: '${{ secrets.SNAP_STABLE_BUILD_REPO_GH_DEPLOY_KEY }}' - name: Fetch Snap Stable Config Changes - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: snap_stable_build_diff path: '${{ github.workspace }}/diff' diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index 37f28823dcc..0d44b43dab4 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: master path: master diff --git a/.github/workflows/publish_web_build.yml b/.github/workflows/publish_web_build.yml index 27e9fcdedb8..076ab920081 100644 --- a/.github/workflows/publish_web_build.yml +++ b/.github/workflows/publish_web_build.yml @@ -77,7 +77,7 @@ jobs: echo "WZ_UPLOAD_PATH=${WZ_UPLOAD_PATH}" >> $GITHUB_ENV echo "WZ_UPLOAD_PATH=${WZ_UPLOAD_PATH}" >> $GITHUB_OUTPUT - name: Download Archive Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: '${{ inputs.artifact }}' path: ./dl-archive @@ -120,7 +120,7 @@ jobs: # Then, sync the server-worker.js # (If replacing in-place, the service-worker should be updated last) echo "::group::rsync" - rsync -chvzP -rlpt --exclude=/service-worker.js --stats --delete "${BUILD_ASSETS_UPLOAD_DIR}/" "${WZ_WEB_BUILD_UPLOAD_USERNAME}@${WZ_WEB_BUILD_UPLOAD_SSH_HOST}.wz2100.net:${WZ_UPLOAD_PATH}" + rsync -chvzP -rlpt --exclude=/service-worker.js --stats --delete "${BUILD_ASSETS_UPLOAD_DIR}/" "${WZ_WEB_BUILD_UPLOAD_USERNAME}@${WZ_WEB_BUILD_UPLOAD_SSH_HOST}:${WZ_UPLOAD_PATH}/" echo "::endgroup::" echo "::group::rsync (service-worker.js)" rsync -chvzP -lpt --stats "${BUILD_ASSETS_UPLOAD_DIR}/service-worker.js" "${WZ_WEB_BUILD_UPLOAD_USERNAME}@${WZ_WEB_BUILD_UPLOAD_SSH_HOST}:${WZ_UPLOAD_PATH}/" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9cf904f8b79..82fa2eeae78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,7 +96,7 @@ jobs: - name: Prep Environment run: | mkdir empty-folder - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 path: 'src'