Skip to content

Commit 09a9fe3

Browse files
Genteureshugen002
authored andcommitted
misc: upgrade workflows
1 parent d9eb34b commit 09a9fe3

5 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# Steps represent a sequence of tasks that will be executed as part of the job
2323
steps:
2424
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
2828
# Runs a single command using the runners shell
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-latest
5050
needs: build
5151
steps:
52-
- uses: actions/checkout@v3
52+
- uses: actions/checkout@v4
5353
with:
5454
fetch-depth: 0
5555
- name: Download Artifact from latest build
@@ -58,18 +58,18 @@ jobs:
5858
name: dist
5959
path: dist
6060
- name: Set up QEMU
61-
uses: docker/setup-qemu-action@v1
61+
uses: docker/setup-qemu-action@v3
6262
- name: Set up Docker Buildx
63-
uses: docker/setup-buildx-action@v1
63+
uses: docker/setup-buildx-action@v3
6464
- name: Login to GitHub Container Registry
65-
uses: docker/login-action@v2
65+
uses: docker/login-action@v3
6666
with:
6767
registry: ghcr.io
6868
username: ${{ github.actor }}
6969
password: ${{ secrets.GITHUB_TOKEN }}
7070
- name: Extract Docker metadata
7171
id: meta
72-
uses: docker/metadata-action@v3
72+
uses: docker/metadata-action@v5
7373
with:
7474
images: |
7575
ghcr.io/${{ github.repository }}
@@ -79,7 +79,7 @@ jobs:
7979
type=ref,event=pr
8080
type=sha,prefix={{branch}}-
8181
- name: Build and push Docker image
82-
uses: docker/build-push-action@v2
82+
uses: docker/build-push-action@v6
8383
with:
8484
context: .
8585
file: .github/Dockerfile.githubactions

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL

.github/workflows/pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# Steps represent a sequence of tasks that will be executed as part of the job
2323
steps:
2424
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
2828
- name: NPM install
@@ -34,7 +34,7 @@ jobs:
3434
sed -i 's/<base href="\/">/<base href="\/BililiveRecorder-WebUI\/">/g' dist/index.html
3535
cp dist/index.html dist/404.html
3636
- name: Deploy
37-
uses: peaceiris/actions-gh-pages@v3
37+
uses: peaceiris/actions-gh-pages@v4
3838
with:
3939
github_token: ${{ secrets.GITHUB_TOKEN }}
4040
publish_dir: ./dist

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
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
@@ -23,7 +23,7 @@ jobs:
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:
@@ -38,7 +38,7 @@ jobs:
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 }}
@@ -84,7 +84,7 @@ jobs:
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

.github/workflows/update-copyright-years.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
run:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
1515
- uses: FantasticFiasco/action-update-license-year@v3

0 commit comments

Comments
 (0)