From 902570abf6a396941d7d4c0bd01f3a6f086cd9b7 Mon Sep 17 00:00:00 2001 From: LFC <990479+MichaelScofield@users.noreply.github.com> Date: Sat, 3 Feb 2024 11:20:47 +0800 Subject: [PATCH] ci: fix nightly build (#3276) * ci: fix nightly build * ci: fix nightly build --- .github/actions/build-greptime-images/action.yml | 4 ++-- .github/actions/publish-github-release/action.yml | 2 +- .github/actions/release-cn-artifacts/action.yaml | 2 +- .github/actions/upload-artifacts/action.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/build-greptime-images/action.yml b/.github/actions/build-greptime-images/action.yml index 31bccc5296..7b5e32e8e6 100644 --- a/.github/actions/build-greptime-images/action.yml +++ b/.github/actions/build-greptime-images/action.yml @@ -53,7 +53,7 @@ runs: uses: docker/setup-buildx-action@v2 - name: Download amd64 artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ inputs.amd64-artifact-name }} @@ -66,7 +66,7 @@ runs: mv ${{ inputs.amd64-artifact-name }} amd64 - name: Download arm64 artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 if: ${{ inputs.arm64-artifact-name }} with: name: ${{ inputs.arm64-artifact-name }} diff --git a/.github/actions/publish-github-release/action.yml b/.github/actions/publish-github-release/action.yml index 406e9fb0f9..8d7bf395de 100644 --- a/.github/actions/publish-github-release/action.yml +++ b/.github/actions/publish-github-release/action.yml @@ -15,7 +15,7 @@ runs: # |- greptime-darwin-amd64-v0.5.0.sha256sum/greptime-darwin-amd64-v0.5.0.sha256sum # ... - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Create git tag for release if: ${{ github.event_name != 'push' }} # Meaning this is a scheduled or manual workflow. diff --git a/.github/actions/release-cn-artifacts/action.yaml b/.github/actions/release-cn-artifacts/action.yaml index 73bfb3b3f1..641e8cc412 100644 --- a/.github/actions/release-cn-artifacts/action.yaml +++ b/.github/actions/release-cn-artifacts/action.yaml @@ -73,7 +73,7 @@ runs: using: composite steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ${{ inputs.artifacts-dir }} diff --git a/.github/actions/upload-artifacts/action.yml b/.github/actions/upload-artifacts/action.yml index e5322151a8..c0cda8a3fd 100644 --- a/.github/actions/upload-artifacts/action.yml +++ b/.github/actions/upload-artifacts/action.yml @@ -50,7 +50,7 @@ runs: run: Get-FileHash ${{ inputs.artifacts-dir }}.tar.gz -Algorithm SHA256 | select -ExpandProperty Hash > ${{ inputs.artifacts-dir }}.sha256sum # Note: The artifacts will be double zip compressed(related issue: https://github.com/actions/upload-artifact/issues/39). - # However, when we use 'actions/download-artifact@v3' to download the artifacts, it will be automatically unzipped. + # However, when we use 'actions/download-artifact' to download the artifacts, it will be automatically unzipped. - name: Upload artifacts uses: actions/upload-artifact@v4 with: