1212 # Steps represent a sequence of tasks that will be executed as part of the job
1313 steps :
1414 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
15- - uses : actions/checkout@v3
15+ - uses : actions/checkout@v4
1616 with :
1717 fetch-depth : 0
1818 # Runs a single command using the runners shell
2323 - name : Zip normal build
2424 run : zip -r dist.zip dist
2525 - name : Upload Zip as Release Asset
26- uses : actions/ upload-release-asset@v1
26+ uses : shogo82148/actions- upload-release-asset@v1
2727 env :
2828 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2929 with :
3838 - name : Zip embedded build
3939 run : zip -r dist-embedded.zip dist
4040 - name : Upload Zip as Release Asset for Embedded
41- uses : actions/ upload-release-asset@v1
41+ uses : shogo82148/actions- upload-release-asset@v1
4242 env :
4343 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4444 with :
@@ -49,32 +49,32 @@ jobs:
4949 docker :
5050 runs-on : ubuntu-latest
5151 steps :
52- - uses : actions/checkout@v3
52+ - uses : actions/checkout@v4
5353 with :
5454 fetch-depth : 0
5555 - name : NPM install
5656 run : npm install
5757 - name : Build
5858 run : npx vite build
5959 - name : Set up QEMU
60- uses : docker/setup-qemu-action@v1
60+ uses : docker/setup-qemu-action@v3
6161 - name : Set up Docker Buildx
62- uses : docker/setup-buildx-action@v1
62+ uses : docker/setup-buildx-action@v3
6363 - name : Login to GitHub Container Registry
64- uses : docker/login-action@v2
64+ uses : docker/login-action@v3
6565 with :
6666 registry : ghcr.io
6767 username : ${{ github.actor }}
6868 password : ${{ secrets.GITHUB_TOKEN }}
6969 - name : Login to Docker Hub
7070 if : github.event_name != 'pull_request'
71- uses : docker/login-action@v2
71+ uses : docker/login-action@v3
7272 with :
7373 username : ${{ secrets.DOCKERHUB_USERNAME }}
7474 password : ${{ secrets.DOCKERHUB_TOKEN }}
7575 - name : Extract Docker metadata
7676 id : meta
77- uses : docker/metadata-action@v3
77+ uses : docker/metadata-action@v5
7878 with :
7979 images : |
8080 ghcr.io/${{ github.repository }}
8484 type=semver,pattern={{major}}.{{minor}}
8585 type=semver,pattern={{major}}
8686 - name : Build and push Docker image
87- uses : docker/build-push-action@v2
87+ uses : docker/build-push-action@v6
8888 with :
8989 context : .
9090 file : .github/Dockerfile.githubactions
0 commit comments