fix(ci): downgrade upload/download-artifact to v3 for compatibility and add check
This commit is contained in:
@@ -77,11 +77,11 @@ jobs:
|
|||||||
.next/standalone .next/static public prisma \
|
.next/standalone .next/static public prisma \
|
||||||
node_modules/.prisma node_modules/@prisma node_modules/prisma \
|
node_modules/.prisma node_modules/@prisma node_modules/prisma \
|
||||||
docker-entrypoint.sh socket-server.ts tsconfig.json
|
docker-entrypoint.sh socket-server.ts tsconfig.json
|
||||||
|
ls -lh ../web-artifact.tgz
|
||||||
|
|
||||||
- name: Upload web artifact
|
- name: Upload web artifact
|
||||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||||
working-directory: ${{ github.workspace }}
|
uses: actions/upload-artifact@v3
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
with:
|
||||||
name: web-artifact
|
name: web-artifact
|
||||||
path: web-artifact.tgz
|
path: web-artifact.tgz
|
||||||
@@ -100,7 +100,7 @@ jobs:
|
|||||||
git reset --hard origin/main
|
git reset --hard origin/main
|
||||||
|
|
||||||
- name: Download web artifact
|
- name: Download web artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: web-artifact
|
name: web-artifact
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user