fix: use correct tag reference in release workflow wait-for-artifacts step (#240)

- Change ref from github.ref to needs.release-check.outputs.tag
- Fix issue where wait-on-check-action receives full git reference (refs/tags/1.0.0-alpha.21)
  instead of clean tag name (1.0.0-alpha.21)
- This resolves timeout errors when waiting for build artifacts during release process

Fixes the release workflow failure for tag 1.0.0-alpha.21
This commit is contained in:
安正超
2025-07-17 06:36:57 +08:00
committed by GitHub
parent a27d935925
commit 6c7aa5a7ae

View File

@@ -150,12 +150,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Wait for build workflow
uses: lewagon/wait-on-check-action@v1.3.1
uses: lewagon/wait-on-check-action@v1.4.0
with:
ref: ${{ needs.release-check.outputs.tag }}
check-name: Build RustFS
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 30
wait-interval: 600
allowed-conclusions: success
# Download and prepare release assets