ci: update build workflow

vega
NGPixel 7 months ago
parent 166f519c75
commit 83875e5ce3
No known key found for this signature in database
GPG Key ID: B755FB6870B30F63

@ -59,20 +59,20 @@ jobs:
pnpm build
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Build and push Docker images
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: dev/build/Dockerfile
@ -98,7 +98,7 @@ jobs:
find ./_dist/ -printf "%P\n" | tar -czf wiki-js.tar.gz --no-recursion -C ./_dist/ -T -
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build
path: wiki-js.tar.gz
@ -110,7 +110,7 @@ jobs:
steps:
- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
@ -120,7 +120,7 @@ jobs:
corepack prepare pnpm@latest --activate
- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build
path: build
@ -139,7 +139,7 @@ jobs:
run: Compress-Archive -Path $env:GITHUB_WORKSPACE\win\* -DestinationPath wiki-js-windows.zip
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-win
path: wiki-js-windows.zip

Loading…
Cancel
Save