Skip to content

Commit

Permalink
GHA: fix missing hidden files in artifacts
Browse files Browse the repository at this point in the history
atrifacts were excluding hidden files.
.config was never saved

Signed-off-by: Robert Gałat <[email protected]>
  • Loading branch information
RobertGalatNordic committed Feb 5, 2025
1 parent c1fe9d2 commit ba2ba79
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/compare_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
name: configuration_diff
path: |
config_diff.md
include-hidden-files: true

- name: Post diff
if: ${{ fromJSON(steps.config_diff.outputs.diff) }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
name: PR_number
path: |
PR_number
include-hidden-files: true

discover_target_boards:
runs-on: ubuntu-24.04
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
twister-out/**/handler.log
twister-out/**/device.log
twister-out/coverage
include-hidden-files: true

- name: Code Coverage Summary Report
uses: irongut/[email protected]
Expand Down Expand Up @@ -108,10 +109,12 @@ jobs:
delete-merged: true
name: tests-dut_result
pattern: tests-dut_result_*
include-hidden-files: true

- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
delete-merged: true
name: tests-dut_artifacts
pattern: DUT_artifacts_*
include-hidden-files: true
2 changes: 2 additions & 0 deletions .github/workflows/run_tests_dut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
with:
path: PACKAGE_ARTIFACTS_${{ inputs.subset }}.tar.bz2
name: DUT_artifacts_${{steps.replace.outputs.target_board}}_${{ inputs.subset }}
include-hidden-files: true

run_dut_ut:
needs: [build_dut_tests]
Expand Down Expand Up @@ -168,6 +169,7 @@ jobs:
twister-out/**/device.log
twister-out/**/zephyr.hex
twister-out/**/zephyr.elf
include-hidden-files: true

- name: clean artifacts
if: always()
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/samples_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
twister-out/**/.config
twister-out/**/runners.yaml
twister-out/**/*.dts
include-hidden-files: true

- name: Upload build artifacts
uses: actions/upload-artifact@v4
Expand All @@ -113,6 +114,7 @@ jobs:
twister-out/**/merged_domains.hex
twister-out/**/dfu_multi_image.bin
twister-out/**/dfu_application.zip
include-hidden-files: true

merge_sample_artifacts:
needs: build_samples
Expand All @@ -126,6 +128,7 @@ jobs:
delete-merged: true
name: sample-artifacts-meta
pattern: sample-artifacts-meta-*
include-hidden-files: true

- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
Expand All @@ -134,3 +137,4 @@ jobs:
delete-merged: true
name: sample-artifacts
pattern: sample-artifacts-build-*
include-hidden-files: true

0 comments on commit ba2ba79

Please sign in to comment.