Skip to content

Commit 4d4e934

Browse files
committed
chore(ci): bump GitHub Actions workflow dependencies
1 parent 88cb124 commit 4d4e934

2 files changed

Lines changed: 29 additions & 29 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ jobs:
3636
name: Linux ${{ matrix.arch }} Build
3737
steps:
3838
- name: Checkout base
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040
- name: Add commit id into version
4141
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
4242
run: SHA=$(git rev-parse --short HEAD) && sed -i 's/\(v[0-9]\.[0-9]\.[0-9]\)/\1-'"$SHA"'/' src/version.h
4343
- name: Build
4444
run: docker run --rm -v $GITHUB_WORKSPACE:/root/workdir multiarch/alpine:${{ matrix.arch }}-latest-stable /bin/sh -c "apk add bash git nodejs npm && cd /root/workdir && chmod +x scripts/build.alpine.release.sh && bash scripts/build.alpine.release.sh"
4545
- name: Upload
46-
uses: actions/upload-artifact@v4
46+
uses: actions/upload-artifact@v7
4747
with:
4848
name: ${{ matrix.artifact }}
4949
path: subconverter/
@@ -71,9 +71,9 @@ jobs:
7171
name: macOS ${{ matrix.arch }} Build
7272
steps:
7373
- name: Checkout base
74-
uses: actions/checkout@v4
74+
uses: actions/checkout@v6
7575
- name: Setup Python
76-
uses: actions/setup-python@v5
76+
uses: actions/setup-python@v6
7777
with:
7878
python-version: '3.11'
7979
- name: Add commit id into version
@@ -82,7 +82,7 @@ jobs:
8282
- name: Build
8383
run: bash scripts/build.macos.release.sh
8484
- name: Upload
85-
uses: actions/upload-artifact@v4
85+
uses: actions/upload-artifact@v7
8686
with:
8787
name: ${{ matrix.artifact }}
8888
path: subconverter/
@@ -115,13 +115,13 @@ jobs:
115115
shell: msys2 {0}
116116
steps:
117117
- name: Checkout base
118-
uses: actions/checkout@v4
118+
uses: actions/checkout@v6
119119
- name: Setup Python
120-
uses: actions/setup-python@v5
120+
uses: actions/setup-python@v6
121121
with:
122122
python-version: '3.11'
123123
- name: Setup Node.js
124-
uses: actions/setup-node@v4
124+
uses: actions/setup-node@v6
125125
with:
126126
node-version: '16'
127127
- name: Setup MSYS2
@@ -137,7 +137,7 @@ jobs:
137137
- name: Build
138138
run: bash scripts/build.windows.release.sh
139139
- name: Upload
140-
uses: actions/upload-artifact@v4
140+
uses: actions/upload-artifact@v7
141141
with:
142142
name: ${{ matrix.artifact }}
143143
path: subconverter/

‎.github/workflows/docker.yml‎

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,24 +42,24 @@ jobs:
4242
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
4343
4444
- name: Checkout base
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v6
4646
with:
4747
fetch-depth: 0
4848

4949
- name: Set up Docker Buildx
50-
uses: docker/setup-buildx-action@v3
50+
uses: docker/setup-buildx-action@v4
5151

5252
- name: Docker meta
5353
id: meta
54-
uses: docker/metadata-action@v5
54+
uses: docker/metadata-action@v6
5555
with:
5656
images: ${{ env.REGISTRY_IMAGE }}
5757
tags: |
5858
type=semver,pattern={{version}}
5959
type=raw,value=latest,enable=${{ github.ref == env.PUBLISH_BRANCH_REF }}
6060
6161
- name: Docker login
62-
uses: docker/login-action@v3
62+
uses: docker/login-action@v4
6363
with:
6464
username: ${{ secrets.DOCKER_USERNAME }}
6565
password: ${{ secrets.DOCKER_PASSWORD }}
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Build and export
7373
id: build
74-
uses: docker/build-push-action@v5
74+
uses: docker/build-push-action@v7
7575
with:
7676
platforms: ${{ matrix.platform }}
7777
context: .
@@ -89,7 +89,7 @@ jobs:
8989
touch "/tmp/digests-dockerhub/${digest#sha256:}"
9090
9191
- name: Upload artifact
92-
uses: actions/upload-artifact@v4
92+
uses: actions/upload-artifact@v7
9393
with:
9494
name: digest-dockerhub-${{ env.PLATFORM_PAIR }}
9595
path: /tmp/digests-dockerhub/*
@@ -117,23 +117,23 @@ jobs:
117117
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
118118
119119
- name: Checkout base
120-
uses: actions/checkout@v4
120+
uses: actions/checkout@v6
121121
with:
122122
fetch-depth: 0
123123

124124
- name: Set up Docker Buildx
125-
uses: docker/setup-buildx-action@v3
125+
uses: docker/setup-buildx-action@v4
126126

127127
- name: Docker meta
128128
id: meta
129-
uses: docker/metadata-action@v5
129+
uses: docker/metadata-action@v6
130130
with:
131131
images: ${{ env.GHCR_IMAGE }}
132132
tags: |
133133
type=semver,pattern={{version}}
134134
type=raw,value=latest,enable=${{ github.ref == env.PUBLISH_BRANCH_REF }}
135135
- name: Login to GitHub Container Registry
136-
uses: docker/login-action@v3
136+
uses: docker/login-action@v4
137137
with:
138138
registry: ghcr.io
139139
username: ${{ github.actor }}
@@ -146,7 +146,7 @@ jobs:
146146

147147
- name: Build and export
148148
id: build
149-
uses: docker/build-push-action@v5
149+
uses: docker/build-push-action@v7
150150
with:
151151
platforms: ${{ matrix.platform }}
152152
context: .
@@ -163,7 +163,7 @@ jobs:
163163
digest="${{ steps.build.outputs.digest }}"
164164
touch "/tmp/digests-ghcr/${digest#sha256:}"
165165
- name: Upload artifact
166-
uses: actions/upload-artifact@v4
166+
uses: actions/upload-artifact@v7
167167
with:
168168
name: digest-ghcr-${{ env.PLATFORM_PAIR }}
169169
path: /tmp/digests-ghcr/*
@@ -176,26 +176,26 @@ jobs:
176176
runs-on: ubuntu-latest
177177
steps:
178178
- name: Download digests
179-
uses: actions/download-artifact@v4
179+
uses: actions/download-artifact@v8
180180
with:
181181
path: /tmp/digests-dockerhub
182182
pattern: digest-dockerhub-*
183183
merge-multiple: true
184184

185185
- name: Set up Docker Buildx
186-
uses: docker/setup-buildx-action@v3
186+
uses: docker/setup-buildx-action@v4
187187

188188
- name: Docker meta
189189
id: meta
190-
uses: docker/metadata-action@v5
190+
uses: docker/metadata-action@v6
191191
with:
192192
images: ${{ env.REGISTRY_IMAGE }}
193193
tags: |
194194
type=semver,pattern={{version}}
195195
type=raw,value=latest,enable=${{ github.ref == env.PUBLISH_BRANCH_REF }}
196196
197197
- name: Docker login
198-
uses: docker/login-action@v3
198+
uses: docker/login-action@v4
199199
with:
200200
username: ${{ secrets.DOCKER_USERNAME }}
201201
password: ${{ secrets.DOCKER_PASSWORD }}
@@ -216,25 +216,25 @@ jobs:
216216
runs-on: ubuntu-latest
217217
steps:
218218
- name: Download digests
219-
uses: actions/download-artifact@v4
219+
uses: actions/download-artifact@v8
220220
with:
221221
path: /tmp/digests-ghcr
222222
pattern: digest-ghcr-*
223223
merge-multiple: true
224224

225225
- name: Set up Docker Buildx
226-
uses: docker/setup-buildx-action@v3
226+
uses: docker/setup-buildx-action@v4
227227

228228
- name: Docker meta
229229
id: meta
230-
uses: docker/metadata-action@v5
230+
uses: docker/metadata-action@v6
231231
with:
232232
images: ${{ env.GHCR_IMAGE }}
233233
tags: |
234234
type=semver,pattern={{version}}
235235
type=raw,value=latest,enable=${{ github.ref == env.PUBLISH_BRANCH_REF }}
236236
- name: Login to GitHub Container Registry
237-
uses: docker/login-action@v3
237+
uses: docker/login-action@v4
238238
with:
239239
registry: ghcr.io
240240
username: ${{ github.actor }}

0 commit comments

Comments
 (0)