diff --git a/.gitea/workflows/deploy-client.yml b/.gitea/workflows/deploy-client.yml index ddff978..68ec250 100644 --- a/.gitea/workflows/deploy-client.yml +++ b/.gitea/workflows/deploy-client.yml @@ -83,17 +83,19 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Download android artifact + # 一次性下所有 artifact(不带 name),避免同 job 内两次复用 download-artifact + # action → act 对其只读缓存 git 仓库做二次操作时 EACCES(pack idx 444)。 + - name: Download all artifacts uses: actions/download-artifact@v3 with: - name: android - path: dist/ + path: dist-raw/ - - name: Download windows artifact - uses: actions/download-artifact@v3 - with: - name: windows - path: dist/ + - name: Flatten artifacts into dist/ + shell: bash + run: | + mkdir -p dist + find dist-raw -type f -exec cp {} dist/ \; + echo "dist/ 内容:"; ls -la dist/ - name: Release → Forgejo env: