Skip to content

Commit 89718c8

Browse files
author
Klaus Rettinghaus
authored
Update GH Actions (flameshot-org#3361)
* update actions to use checkout version 4 * update upload-artifact action
1 parent f54d4c7 commit 89718c8

File tree

6 files changed

+23
-23
lines changed

6 files changed

+23
-23
lines changed

.github/workflows/Linux-pack.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ jobs:
121121
fi
122122
- name: Checkout Source code
123123
if: github.event_name == 'push'
124-
uses: actions/checkout@v3
124+
uses: actions/checkout@v4
125125
with:
126126
fetch-depth: 0
127127
ref: master
128128
- name: Checkout Source code
129129
if: github.event_name == 'pull_request'
130-
uses: actions/checkout@v3
130+
uses: actions/checkout@v4
131131
with:
132132
fetch-depth: 0
133133
ref: ${{ github.event.pull_request.head.sha }}
@@ -143,7 +143,7 @@ jobs:
143143
echo "================================"
144144
echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV
145145
- name: Get packpack tool
146-
uses: actions/checkout@v3
146+
uses: actions/checkout@v4
147147
with:
148148
repository: ${{ env.PACKPACK_REPO }}
149149
path: tools
@@ -240,13 +240,13 @@ jobs:
240240
steps:
241241
- name: Checkout Source code
242242
if: github.event_name == 'push'
243-
uses: actions/checkout@v3
243+
uses: actions/checkout@v4
244244
with:
245245
fetch-depth: 0
246246
ref: master
247247
- name: Checkout Source code
248248
if: github.event_name == 'pull_request'
249-
uses: actions/checkout@v3
249+
uses: actions/checkout@v4
250250
with:
251251
fetch-depth: 0
252252
ref: ${{ github.event.pull_request.head.sha }}
@@ -262,7 +262,7 @@ jobs:
262262
echo "================================"
263263
echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV
264264
- name: Get packpack tool
265-
uses: actions/checkout@v3
265+
uses: actions/checkout@v4
266266
with:
267267
repository: ${{ env.PACKPACK_REPO }}
268268
path: tools
@@ -352,13 +352,13 @@ jobs:
352352
353353
- name: Checkout Source code
354354
if: github.event_name == 'push'
355-
uses: actions/checkout@v3
355+
uses: actions/checkout@v4
356356
with:
357357
fetch-depth: 0
358358
ref: master
359359
- name: Checkout Source code
360360
if: github.event_name == 'pull_request'
361-
uses: actions/checkout@v3
361+
uses: actions/checkout@v4
362362
with:
363363
fetch-depth: 0
364364
ref: ${{ github.event.pull_request.head.sha }}
@@ -466,13 +466,13 @@ jobs:
466466
steps:
467467
- name: Checkout Source code
468468
if: github.event_name == 'push'
469-
uses: actions/checkout@v3
469+
uses: actions/checkout@v4
470470
with:
471471
fetch-depth: 0
472472
ref: master
473473
- name: Checkout Source code
474474
if: github.event_name == 'pull_request'
475-
uses: actions/checkout@v3
475+
uses: actions/checkout@v4
476476
with:
477477
fetch-depth: 0
478478
ref: ${{ github.event.pull_request.head.sha }}
@@ -532,13 +532,13 @@ jobs:
532532
steps:
533533
- name: Checkout Source code
534534
if: github.event_name == 'push'
535-
uses: actions/checkout@v3
535+
uses: actions/checkout@v4
536536
with:
537537
fetch-depth: 0
538538
ref: master
539539
- name: Checkout Source code
540540
if: github.event_name == 'pull_request'
541-
uses: actions/checkout@v3
541+
uses: actions/checkout@v4
542542
with:
543543
fetch-depth: 0
544544
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/MacOS-pack.yml

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

4646
steps:
4747
- name: Checkout Source code
48-
uses: actions/checkout@v3
48+
uses: actions/checkout@v4
4949

5050
- name: Install Qt
5151
run: brew install qt@5 cmake

.github/workflows/Windows-pack.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ jobs:
5454
steps:
5555
- name: Checkout Source code
5656
if: github.event_name == 'push'
57-
uses: actions/checkout@v3
57+
uses: actions/checkout@v4
5858
with:
5959
fetch-depth: 0
6060
# ref: master
6161

6262
- name: Checkout Source code
6363
if: github.event_name == 'pull_request'
64-
uses: actions/checkout@v3
64+
uses: actions/checkout@v4
6565
with:
6666
fetch-depth: 0
6767
ref: ${{ github.event.pull_request.head.sha }}
@@ -197,7 +197,7 @@ jobs:
197197
echo $(python $GITHUB_WORKSPACE/scripts/upload_services/transferwee.py upload $GITHUB_WORKSPACE/build/Package/portable/flameshot-${VERSION}-${{ matrix.config.pak_arch }}.zip)
198198
echo "=====no operation for you can see link in the log console====="
199199
- name: Artifact Upload
200-
uses: actions/upload-artifact@v2
200+
uses: actions/upload-artifact@v3
201201
with:
202202
name: Windows-artifact
203203
path: ${{ github.workspace }}/build/Package/*

.github/workflows/build_cmake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
steps:
2828
- name: Checkout Source code
2929
if: github.event_name == 'push'
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131

3232
- name: Checkout Source code
3333
if: github.event_name == 'pull_request'
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535
with:
3636
ref: ${{ github.event.pull_request.head.sha }}
3737

@@ -97,7 +97,7 @@ jobs:
9797
}
9898

9999
steps:
100-
- uses: actions/checkout@v2
100+
- uses: actions/checkout@v4
101101

102102
- name: Cache Qt
103103
id: cache-qt

.github/workflows/clang-format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
steps:
1010
- name: Checkout Source code
1111
if: github.event_name == 'push'
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: Checkout Source code
1414
if: github.event_name == 'pull_request'
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
ref: ${{ github.event.pull_request.head.sha }}
1818
- uses: DoozyX/[email protected]

.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/[email protected]
2323
2424
- name: Checkout flameshot source
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
with:
2727
path: 'flameshot'
2828

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

0 commit comments

Comments
 (0)