Skip to content

Commit 5566af9

Browse files
authored
ci: inclulde hidden files when uploading artifacts
1 parent 18ca176 commit 5566af9

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

.github/workflows/package_chromium.yml

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,17 @@ jobs:
197197
run: |
198198
tar cf build-status/${{ matrix.target_arch }}-${{ github.sha }}.tar ./*.txt ./debs ./artifacts ./output ./output-chromium
199199
- name: Upload build deps
200-
uses: actions/upload-artifact@v3
200+
uses: actions/upload-artifact@v4
201201
with:
202202
name: build-deps-${{ matrix.target_arch }}-${{ github.sha }}
203203
path: ./build-deps
204+
include-hidden-files: true
204205
- name: Upload build status
205-
uses: actions/upload-artifact@v3
206+
uses: actions/upload-artifact@v4
206207
with:
207208
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
208209
path: ./build-status
210+
include-hidden-files: true
209211

210212
build-1:
211213
runs-on: ubuntu-22.04
@@ -250,12 +252,12 @@ jobs:
250252
sudo apt autoremove -yq
251253
sudo rm -rf /opt/hostedtoolcache /usr/local /usr/share/dotnet /usr/share/swift
252254
- name: Download build deps
253-
uses: actions/download-artifact@v3
255+
uses: actions/download-artifact@v4
254256
with:
255257
name: build-deps-${{ matrix.target_arch }}-${{ github.sha }}
256258
path: ./build-deps
257259
- name: Download build status
258-
uses: actions/download-artifact@v3
260+
uses: actions/download-artifact@v4
259261
with:
260262
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
261263
path: ./build-status
@@ -282,10 +284,11 @@ jobs:
282284
run: |
283285
tar cf build-status/${{ matrix.target_arch }}-${{ github.sha }}.tar ./*.txt ./debs ./artifacts ./output ./output-chromium
284286
- name: Upload build status
285-
uses: actions/upload-artifact@v3
287+
uses: actions/upload-artifact@v4
286288
with:
287289
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
288290
path: ./build-status
291+
include-hidden-files: true
289292

290293
build-2:
291294
runs-on: ubuntu-22.04
@@ -362,10 +365,11 @@ jobs:
362365
run: |
363366
tar cf build-status/${{ matrix.target_arch }}-${{ github.sha }}.tar ./*.txt ./debs ./artifacts ./output ./output-chromium
364367
- name: Upload build status
365-
uses: actions/upload-artifact@v3
368+
uses: actions/upload-artifact@v4
366369
with:
367370
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
368371
path: ./build-status
372+
include-hidden-files: true
369373

370374
build-3:
371375
runs-on: ubuntu-22.04
@@ -442,10 +446,11 @@ jobs:
442446
run: |
443447
tar cf build-status/${{ matrix.target_arch }}-${{ github.sha }}.tar ./*.txt ./debs ./artifacts ./output ./output-chromium
444448
- name: Upload build status
445-
uses: actions/upload-artifact@v3
449+
uses: actions/upload-artifact@v4
446450
with:
447451
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
448452
path: ./build-status
453+
include-hidden-files: true
449454

450455
build-4:
451456
runs-on: ubuntu-22.04
@@ -522,10 +527,11 @@ jobs:
522527
run: |
523528
tar cf build-status/${{ matrix.target_arch }}-${{ github.sha }}.tar ./*.txt ./debs ./artifacts ./output ./output-chromium
524529
- name: Upload build status
525-
uses: actions/upload-artifact@v3
530+
uses: actions/upload-artifact@v4
526531
with:
527532
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
528533
path: ./build-status
534+
include-hidden-files: true
529535

530536
build-5:
531537
runs-on: ubuntu-22.04
@@ -602,10 +608,11 @@ jobs:
602608
run: |
603609
tar cf build-status/${{ matrix.target_arch }}-${{ github.sha }}.tar ./*.txt ./debs ./artifacts ./output ./output-chromium
604610
- name: Upload build status
605-
uses: actions/upload-artifact@v3
611+
uses: actions/upload-artifact@v4
606612
with:
607613
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
608614
path: ./build-status
615+
include-hidden-files: true
609616

610617
build-6:
611618
runs-on: ubuntu-22.04
@@ -682,10 +689,11 @@ jobs:
682689
run: |
683690
tar cf build-status/${{ matrix.target_arch }}-${{ github.sha }}.tar ./*.txt ./debs ./artifacts ./output ./output-chromium
684691
- name: Upload build status
685-
uses: actions/upload-artifact@v3
692+
uses: actions/upload-artifact@v4
686693
with:
687694
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
688695
path: ./build-status
696+
include-hidden-files: true
689697

690698
build-7:
691699
runs-on: ubuntu-22.04
@@ -762,10 +770,11 @@ jobs:
762770
run: |
763771
tar cf build-status/${{ matrix.target_arch }}-${{ github.sha }}.tar ./*.txt ./debs ./artifacts ./output ./output-chromium
764772
- name: Upload build status
765-
uses: actions/upload-artifact@v3
773+
uses: actions/upload-artifact@v4
766774
with:
767775
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
768776
path: ./build-status
777+
include-hidden-files: true
769778

770779
build-8:
771780
runs-on: ubuntu-22.04
@@ -842,10 +851,11 @@ jobs:
842851
run: |
843852
tar cf build-status/${{ matrix.target_arch }}-${{ github.sha }}.tar ./*.txt ./debs ./artifacts ./output ./output-chromium
844853
- name: Upload build status
845-
uses: actions/upload-artifact@v3
854+
uses: actions/upload-artifact@v4
846855
with:
847856
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
848857
path: ./build-status
858+
include-hidden-files: true
849859

850860
build-9:
851861
runs-on: ubuntu-22.04
@@ -922,10 +932,11 @@ jobs:
922932
run: |
923933
tar cf build-status/${{ matrix.target_arch }}-${{ github.sha }}.tar ./*.txt ./debs ./artifacts ./output ./output-chromium
924934
- name: Upload build status
925-
uses: actions/upload-artifact@v3
935+
uses: actions/upload-artifact@v4
926936
with:
927937
name: build-status-${{ matrix.target_arch }}-${{ github.sha }}
928938
path: ./build-status
939+
include-hidden-files: true
929940

930941
finished-build:
931942
runs-on: ubuntu-22.04
@@ -1010,13 +1021,13 @@ jobs:
10101021
find debs -type f -name "*.deb" -exec sha256sum "{}" \; | sort -k2
10111022
- name: Store *.deb files
10121023
if: always()
1013-
uses: actions/upload-artifact@v3
1024+
uses: actions/upload-artifact@v4
10141025
with:
10151026
name: debs-${{ matrix.target_arch }}-${{ github.sha }}
10161027
path: ./artifacts
10171028
- name: Store chromium .zip files
10181029
if: always()
1019-
uses: actions/upload-artifact@v3
1030+
uses: actions/upload-artifact@v4
10201031
with:
10211032
name: chromium-${{ matrix.target_arch }}-${{ github.sha }}
10221033
path: ./output-chromium

0 commit comments

Comments
 (0)