fix(ci): downgrade upload/download-artifact to v3 for compatibility and add check
Some checks failed
CI / Lint, Test & Build (push) Successful in 12m51s
CI / Deploy production (on server) (push) Has been cancelled

This commit is contained in:
Antigravity
2026-05-19 20:24:19 +00:00
parent fdb148144e
commit 450bcc763a

View File

@@ -77,11 +77,11 @@ jobs:
.next/standalone .next/static public prisma \
node_modules/.prisma node_modules/@prisma node_modules/prisma \
docker-entrypoint.sh socket-server.ts tsconfig.json
ls -lh ../web-artifact.tgz
- name: Upload web artifact
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
working-directory: ${{ github.workspace }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: web-artifact
path: web-artifact.tgz
@@ -100,7 +100,7 @@ jobs:
git reset --hard origin/main
- name: Download web artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: web-artifact