Skip to content

Commit a6694bf

Browse files
authored
Updata GH actions (old action versions are using Node.js 20 which will be decrecated June 2026) (flameshot-org#4660)
1 parent e497f47 commit a6694bf

7 files changed

Lines changed: 48 additions & 48 deletions

File tree

.github/workflows/Linux-arm-pack.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,25 +66,25 @@ jobs:
6666
uses: docker/setup-qemu-action@v3
6767

6868
- name: Set up Docker Buildx
69-
uses: docker/setup-buildx-action@v3
69+
uses: docker/setup-buildx-action@v4
7070

7171
- name: Checkout Source code
7272
if: github.event_name == 'push'
73-
uses: actions/checkout@v4
73+
uses: actions/checkout@v6
7474
with:
7575
fetch-depth: 0
7676
# ref: master
7777

7878
- name: Checkout Source code
7979
if: github.event_name == 'pull_request'
80-
uses: actions/checkout@v4
80+
uses: actions/checkout@v6
8181
with:
8282
fetch-depth: 0
8383
ref: ${{ github.event.pull_request.head.sha }}
8484

8585
- name: Checkout Source code
8686
if: github.event_name == 'workflow_dispatch'
87-
uses: actions/checkout@v4
87+
uses: actions/checkout@v6
8888
with:
8989
ref: ${{ github.sha }}
9090

@@ -107,7 +107,7 @@ jobs:
107107
108108
109109
- name: Get packpack tool
110-
uses: actions/checkout@v4
110+
uses: actions/checkout@v6
111111
with:
112112
repository: ${{ env.PACKPACK_REPO }}
113113
path: tools
@@ -144,7 +144,7 @@ jobs:
144144
sha256sum ${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb | tee ${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb.sha256sum
145145
146146
- name: Artifact Upload
147-
uses: actions/upload-artifact@v4
147+
uses: actions/upload-artifact@v7
148148
with:
149149
name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-${{ matrix.dist.name }}-${{ matrix.dist.arch }}
150150
path: |

.github/workflows/Linux-pack.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,25 @@ jobs:
5757

5858
steps:
5959
- name: Set up Docker Buildx
60-
uses: docker/setup-buildx-action@v3
60+
uses: docker/setup-buildx-action@v4
6161

6262
- name: Checkout Source code
6363
if: github.event_name == 'push'
64-
uses: actions/checkout@v4
64+
uses: actions/checkout@v6
6565
with:
6666
fetch-depth: 0
6767
# ref: master
6868

6969
- name: Checkout Source code
7070
if: github.event_name == 'pull_request'
71-
uses: actions/checkout@v4
71+
uses: actions/checkout@v6
7272
with:
7373
fetch-depth: 0
7474
ref: ${{ github.event.pull_request.head.sha }}
7575

7676
- name: Checkout Source code
7777
if: github.event_name == 'workflow_dispatch'
78-
uses: actions/checkout@v4
78+
uses: actions/checkout@v6
7979
with:
8080
ref: ${{ github.sha }}
8181

@@ -97,7 +97,7 @@ jobs:
9797
echo "GIT_HASH=${git_hash}" >> $GITHUB_ENV
9898
9999
- name: Get packpack tool
100-
uses: actions/checkout@v4
100+
uses: actions/checkout@v6
101101
with:
102102
repository: ${{ env.PACKPACK_REPO }}
103103
path: tools
@@ -120,7 +120,7 @@ jobs:
120120
sha256sum ${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb | tee ${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb.sha256sum
121121
122122
- name: Artifact Upload
123-
uses: actions/upload-artifact@v4
123+
uses: actions/upload-artifact@v7
124124
with:
125125
name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-${{ matrix.dist.name }}-${{ matrix.dist.arch }}
126126
path: |
@@ -150,21 +150,21 @@ jobs:
150150
steps:
151151
- name: Checkout Source code
152152
if: github.event_name == 'push'
153-
uses: actions/checkout@v4
153+
uses: actions/checkout@v6
154154
with:
155155
fetch-depth: 0
156156
# ref: master
157157

158158
- name: Checkout Source code
159159
if: github.event_name == 'pull_request'
160-
uses: actions/checkout@v4
160+
uses: actions/checkout@v6
161161
with:
162162
fetch-depth: 0
163163
ref: ${{ github.event.pull_request.head.sha }}
164164

165165
- name: Checkout Source code
166166
if: github.event_name == 'workflow_dispatch'
167-
uses: actions/checkout@v4
167+
uses: actions/checkout@v6
168168
with:
169169
ref: ${{ github.sha }}
170170

@@ -186,7 +186,7 @@ jobs:
186186
echo "GIT_HASH=${git_hash}" >> $GITHUB_ENV
187187
188188
- name: Get packpack tool
189-
uses: actions/checkout@v4
189+
uses: actions/checkout@v6
190190
with:
191191
repository: ${{ env.PACKPACK_REPO }}
192192
path: tools
@@ -237,7 +237,7 @@ jobs:
237237
238238
- name: Artifact Upload
239239
if: matrix.dist.os == 'fedora'
240-
uses: actions/upload-artifact@v4
240+
uses: actions/upload-artifact@v7
241241
with:
242242
name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-${{ matrix.dist.name }}-${{ matrix.dist.arch }}
243243
path: |
@@ -246,7 +246,7 @@ jobs:
246246

247247
- name: Artifact Upload
248248
if: matrix.dist.os == 'opensuse-leap'
249-
uses: actions/upload-artifact@v4
249+
uses: actions/upload-artifact@v7
250250
with:
251251
name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-${{ matrix.dist.name }}-${{ matrix.dist.arch }}
252252
path: |
@@ -279,21 +279,21 @@ jobs:
279279
280280
- name: Checkout Source code
281281
if: github.event_name == 'push'
282-
uses: actions/checkout@v4
282+
uses: actions/checkout@v6
283283
with:
284284
fetch-depth: 0
285285
# ref: master
286286

287287
- name: Checkout Source code
288288
if: github.event_name == 'pull_request'
289-
uses: actions/checkout@v4
289+
uses: actions/checkout@v6
290290
with:
291291
fetch-depth: 0
292292
ref: ${{ github.event.pull_request.head.sha }}
293293

294294
- name: Checkout Source code
295295
if: github.event_name == 'workflow_dispatch'
296-
uses: actions/checkout@v4
296+
uses: actions/checkout@v6
297297
with:
298298
ref: ${{ github.sha }}
299299

@@ -360,7 +360,7 @@ jobs:
360360
sha256sum Flameshot-${VERSION}.x86_64.AppImage | tee Flameshot-${VERSION}.x86_64.AppImage.sha256sum
361361
362362
- name: Artifact Upload
363-
uses: actions/upload-artifact@v4
363+
uses: actions/upload-artifact@v7
364364
with:
365365
name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-appimage-x86_64
366366
path: |
@@ -374,20 +374,20 @@ jobs:
374374
steps:
375375
- name: Checkout Source code
376376
if: github.event_name == 'push'
377-
uses: actions/checkout@v4
377+
uses: actions/checkout@v6
378378
with:
379379
fetch-depth: 0
380380
ref: master
381381
- name: Checkout Source code
382382
if: github.event_name == 'pull_request'
383-
uses: actions/checkout@v4
383+
uses: actions/checkout@v6
384384
with:
385385
fetch-depth: 0
386386
ref: ${{ github.event.pull_request.head.sha }}
387387

388388
- name: Checkout Source code
389389
if: github.event_name == 'workflow_dispatch'
390-
uses: actions/checkout@v4
390+
uses: actions/checkout@v6
391391
with:
392392
ref: ${{ github.sha }}
393393

@@ -440,7 +440,7 @@ jobs:
440440
cd "$GITHUB_WORKSPACE/" || { >&2 echo "Cannot cd to '$GITHUB_WORKSPACE/'!"; exit 11 ; }
441441
sha256sum org.flameshot.Flameshot-${VERSION}.x86_64.flatpak | tee org.flameshot.Flameshot-${VERSION}.x86_64.flatpak.sha256sum
442442
- name: Artifact Upload
443-
uses: actions/upload-artifact@v4
443+
uses: actions/upload-artifact@v7
444444
with:
445445
name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-flatpak-x86_64
446446
path: |
@@ -454,21 +454,21 @@ jobs:
454454
steps:
455455
- name: Checkout Source code
456456
if: github.event_name == 'push'
457-
uses: actions/checkout@v4
457+
uses: actions/checkout@v6
458458
with:
459459
fetch-depth: 0
460460
ref: master
461461
- name: Checkout Source code
462462
if: github.event_name == 'pull_request'
463-
uses: actions/checkout@v4
463+
uses: actions/checkout@v6
464464
with:
465465
fetch-depth: 0
466466
ref: ${{ github.event.pull_request.head.sha }}
467467

468468

469469
- name: Checkout Source code
470470
if: github.event_name == 'workflow_dispatch'
471-
uses: actions/checkout@v4
471+
uses: actions/checkout@v6
472472
with:
473473
ref: ${{ github.sha }}
474474

@@ -503,7 +503,7 @@ jobs:
503503
cd "$GITHUB_WORKSPACE/build/" || { >&2 echo "Cannot cd to '$GITHUB_WORKSPACE/build/'!"; exit 11 ; }
504504
sha256sum ${PRODUCT}-${VERSION}-${RELEASE}.amd64.snap | tee ${PRODUCT}-${VERSION}-${RELEASE}.amd64.snap.sha256sum
505505
- name: Artifact Upload
506-
uses: actions/upload-artifact@v4
506+
uses: actions/upload-artifact@v7
507507
with:
508508
name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-snap-x86_64
509509
path: |

.github/workflows/MacOS-pack.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ jobs:
4343
steps:
4444
- name: Checkout Source code
4545
if: github.event_name == 'push'
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v6
4747

4848
- name: Checkout Source code
4949
if: github.event_name == 'pull_request'
50-
uses: actions/checkout@v4
50+
uses: actions/checkout@v6
5151
with:
5252
ref: ${{ github.event.pull_request.head.sha }}
5353

5454
- name: Checkout Source code
5555
if: github.event_name == 'workflow_dispatch'
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@v6
5757
with:
5858
ref: ${{ github.sha }}
5959

@@ -92,7 +92,7 @@ jobs:
9292
ninja create_dmg
9393
9494
- name: Artifact Upload
95-
uses: actions/upload-artifact@v4
95+
uses: actions/upload-artifact@v7
9696
with:
9797
name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-macos-${{ matrix.dist.arch }}
9898
path: ${{ github.workspace }}/build/src/Flameshot-${{ env.VERSION }}.dmg

.github/workflows/Windows-pack.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,21 @@ jobs:
5151
steps:
5252
- name: Checkout Source code
5353
if: github.event_name == 'push'
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@v6
5555
with:
5656
fetch-depth: 0
5757
# ref: master
5858

5959
- name: Checkout Source code
6060
if: github.event_name == 'pull_request'
61-
uses: actions/checkout@v4
61+
uses: actions/checkout@v6
6262
with:
6363
fetch-depth: 0
6464
ref: ${{ github.event.pull_request.head.sha }}
6565

6666
- name: Checkout Source code
6767
if: github.event_name == 'workflow_dispatch'
68-
uses: actions/checkout@v4
68+
uses: actions/checkout@v6
6969
with:
7070
ref: ${{ github.sha }}
7171

@@ -178,7 +178,7 @@ jobs:
178178
179179
- name: Artifact Upload
180180
if: matrix.type == 'installer'
181-
uses: actions/upload-artifact@v4
181+
uses: actions/upload-artifact@v7
182182
with:
183183
name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-win-${{ matrix.config.arch }}-${{ matrix.type }}
184184
path: |
@@ -188,7 +188,7 @@ jobs:
188188

189189
- name: Artifact Upload
190190
if: matrix.type == 'portable'
191-
uses: actions/upload-artifact@v4
191+
uses: actions/upload-artifact@v7
192192
with:
193193
name: ${{ env.PRODUCT }}-${{ env.VER_INFO }}-artifact-win-${{ matrix.config.arch }}-${{ matrix.type }}
194194
path: |

.github/workflows/build_cmake.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ jobs:
3232
steps:
3333
- name: Checkout Source code
3434
if: github.event_name == 'push'
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v6
3636

3737
- name: Checkout Source code
3838
if: github.event_name == 'pull_request'
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040
with:
4141
ref: ${{ github.event.pull_request.head.sha }}
4242

4343
- name: Checkout Source code
4444
if: github.event_name == 'workflow_dispatch'
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v6
4646
with:
4747
ref: ${{ github.sha }}
4848

@@ -100,7 +100,7 @@ jobs:
100100
}
101101

102102
steps:
103-
- uses: actions/checkout@v4
103+
- uses: actions/checkout@v6
104104

105105
- name: Fix Python path
106106
shell: pwsh

.github/workflows/clang-format.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
steps:
2424
- name: Checkout Source code
2525
if: github.event_name == 'push'
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727
- name: Checkout Source code
2828
if: github.event_name == 'pull_request'
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030
with:
3131
ref: ${{ github.event.pull_request.head.sha }}
32-
- uses: DoozyX/clang-format-lint-action@v0.13
32+
- uses: DoozyX/clang-format-lint-action@v0.18
3333
with:
3434
source: './src'
3535
extensions: 'h,cpp'

.github/workflows/deploy-dev-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
git+https://github.com/veracioux/mkdoxy@v1.0.0
2323
2424
- name: Checkout flameshot source
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626
with:
2727
path: 'flameshot'
2828

@@ -32,7 +32,7 @@ jobs:
3232
make build
3333
3434
- name: Checkout flameshot website
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v6
3636
with:
3737
repository: 'flameshot-org/flameshot-org.github.io'
3838
ref: 'gh-pages'

0 commit comments

Comments
 (0)