mirror of
https://github.com/Sanae6/SmoOnlineServer
synced 2025-10-05 22:12:40 +02:00
[workflows] update: action versions
This commit is contained in:
20
.github/workflows/deploy.yml
vendored
20
.github/workflows/deploy.yml
vendored
@@ -27,11 +27,11 @@ jobs:
|
||||
echo "IMAGE=$IMAGE" >>$GITHUB_ENV
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
id: meta
|
||||
name: Docker meta
|
||||
uses: docker/metadata-action@v4
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: |
|
||||
ghcr.io/${{ env.IMAGE }}
|
||||
@@ -47,22 +47,22 @@ jobs:
|
||||
org.opencontainers.image.licenses=UNLICENSED
|
||||
-
|
||||
name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
uses: docker/setup-qemu-action@v3
|
||||
with:
|
||||
platforms: amd64,arm64,arm
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Login to GHCR
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry : ghcr.io
|
||||
username : ${{ github.repository_owner }}
|
||||
password : ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v3
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
pull : true
|
||||
push : true
|
||||
@@ -79,28 +79,28 @@ jobs:
|
||||
./docker-build.sh all
|
||||
-
|
||||
name : Upload Server
|
||||
uses : actions/upload-artifact@v3
|
||||
uses : actions/upload-artifact@v4
|
||||
with:
|
||||
name : Server
|
||||
path : ./bin/Server
|
||||
if-no-files-found : error
|
||||
-
|
||||
name : Upload Server.arm
|
||||
uses : actions/upload-artifact@v3
|
||||
uses : actions/upload-artifact@v4
|
||||
with:
|
||||
name : Server.arm
|
||||
path : ./bin/Server.arm
|
||||
if-no-files-found : error
|
||||
-
|
||||
name : Upload Server.arm64
|
||||
uses : actions/upload-artifact@v3
|
||||
uses : actions/upload-artifact@v4
|
||||
with:
|
||||
name : Server.arm64
|
||||
path : ./bin/Server.arm64
|
||||
if-no-files-found : error
|
||||
-
|
||||
name : Upload Server.exe
|
||||
uses : actions/upload-artifact@v3
|
||||
uses : actions/upload-artifact@v4
|
||||
with:
|
||||
name : Server.exe
|
||||
path : ./bin/Server.exe
|
||||
|
8
.github/workflows/test-pr.yml
vendored
8
.github/workflows/test-pr.yml
vendored
@@ -15,18 +15,18 @@ jobs:
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
uses: docker/setup-qemu-action@v3
|
||||
with:
|
||||
platforms: amd64,arm64,arm
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Build
|
||||
uses: docker/build-push-action@v3
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
pull : true
|
||||
push : false
|
||||
|
Reference in New Issue
Block a user