Skip to content

Commit

Permalink
Updated upload/download GH actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
grasci-arm authored Jan 12, 2024
1 parent 09cde26 commit d4a2872
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 77 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/buildmgr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
arch: ${{ matrix.arch }}

- name: Archive cbuildgen
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: cbuildgen-${{ matrix.target }}-${{ matrix.arch }}
path: ./build/tools/buildmgr/cbuildgen/${{ matrix.target }}-${{ matrix.arch }}/Release/cbuildgen${{ matrix.binary_extension }}
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
echo "retention_days=$(echo '${{ (!github.event.repository.private && (github.event_name == 'push' || github.event.schedule != '')) && '7' || '1' }}')" >> $GITHUB_OUTPUT
- name: Upload documentation
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: documentation
path: ./build/tools/buildmgr/docs/doxygen/output/
Expand Down Expand Up @@ -204,39 +204,39 @@ jobs:
mkdir -p tools/buildmgr/cbuildgen/distribution/doc
- name: Download cbuildgen linux-amd64
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: cbuildgen-linux-amd64
path: tools/buildmgr/cbuildgen/distribution/bin/

- name: Download cbuildgen linux-arm64
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: cbuildgen-linux-arm64
path: tools/buildmgr/cbuildgen/distribution/bin/

- name: Download cbuildgen macos-amd64
if: ${{ !github.event.repository.private }}
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: cbuildgen-darwin-amd64
path: tools/buildmgr/cbuildgen/distribution/bin/

- name: Download cbuildgen macos-arm64
if: ${{ !github.event.repository.private }}
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: cbuildgen-darwin-arm64
path: tools/buildmgr/cbuildgen/distribution/bin/

- name: Download cbuildgen windows-amd64
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: cbuildgen-windows-amd64
path: tools/buildmgr/cbuildgen/distribution/bin/

- name: Download cbuildgen windows-arm64
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: cbuildgen-windows-arm64
path: tools/buildmgr/cbuildgen/distribution/bin/
Expand All @@ -247,7 +247,7 @@ jobs:
working-directory: tools/buildmgr/cbuildgen/distribution/bin

- name: Download documentation
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: documentation
path: tools/buildmgr/cbuildgen/distribution/doc/
Expand All @@ -261,15 +261,15 @@ jobs:
working-directory: tools/buildmgr/cbuildgen/installer

- name: Archive cbuild_install.sh
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: cbuild_install
path: tools/buildmgr/cbuildgen/installer/cbuild_install.sh
retention-days: ${{ needs.setup.outputs.retention_days }}
if-no-files-found: error

- name: Archive deb package
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: deb_package
path: tools/buildmgr/cbuildgen/installer/cmsis-build*.deb
Expand Down Expand Up @@ -370,13 +370,13 @@ jobs:
path: ${{ env.CMSIS_PACK_ROOT }}

- name: Download cbuild_install
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: cbuild_install
path: ${{ github.workspace }}

- name: Download deb_package
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: deb_package
path: ${{ github.workspace }}
Expand All @@ -400,7 +400,7 @@ jobs:

- name: Archive unittest
if: always() && (matrix.arch != 'arm64')
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: unit_test_result-${{ matrix.target }}-${{ matrix.arch }}
path: ./build/test_reports/cbuildunittests-*.xml
Expand Down Expand Up @@ -437,7 +437,7 @@ jobs:

- name: Archive Cbuild Integration Tests
if: always() && ((matrix.arch == 'amd64') || (startsWith(matrix.runs_on, 'ubuntu')))
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: integ_test_result-${{ matrix.target }}-${{ matrix.arch }}
path: ./build/test_reports/cbuildintegtests-report-${{ matrix.target }}-${{ matrix.arch }}.xml
Expand Down Expand Up @@ -514,7 +514,7 @@ jobs:
- name: Archive unittest
if: (github.event_name == 'push')
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: unit_test_result-linux-amd64
path: ./build/test_reports/cbuildunittests-*.xml
Expand All @@ -523,7 +523,7 @@ jobs:

- name: Archive Cbuild Integration Tests
if: (github.event_name == 'push')
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: integ_test_result-linux-amd64
path: ./build/test_reports/cbuildintegtests-*.xml
Expand Down Expand Up @@ -560,7 +560,7 @@ jobs:
attempt_delay: 5000

- name: Archive coverage report
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: coverage-report
path: |
Expand All @@ -583,7 +583,7 @@ jobs:
matrix: ${{ fromJson(needs.matrix_prep.outputs.matrix) }}
steps:
- name: Download cbuild_install
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: cbuild_install
path: ${{ github.workspace }}
Expand Down Expand Up @@ -624,7 +624,7 @@ jobs:
image: [ "debian:buster" ]
steps:
- name: Download cbuild_install
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: cbuild_install
path: ${{ github.workspace }}
Expand Down Expand Up @@ -653,7 +653,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Event File
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: Event File
path: ${{ github.event_path }}
2 changes: 1 addition & 1 deletion .github/workflows/cpp-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Archive Cppcheck results
if: ${{ steps.errors.outputs.value == '1' }}
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: cppcheck-report
path: ./${{ env.linter_report }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
lcov
- name: Download coverage report
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: coverage-report
path: coverage/
Expand All @@ -46,7 +46,7 @@ jobs:
working-directory: coverage/

- name: Archive merged coverage report
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: merged-coverage-report
path: ./coverage/merged_coverage.info
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/packchk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

- name: Archive packchk binary
if: ${{ github.event_name != 'release' }}
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: packchk-${{ matrix.target }}-${{ matrix.arch }}
path: build/tools/packchk/packchk-*-${{ matrix.target }}-${{ matrix.arch }}.*
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:

- name: Archive unit test results
if: always() && (matrix.arch != 'arm64')
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: unit_test_result-${{ matrix.target }}-${{ matrix.arch }}
path: ./build/test_reports/packchkunittests-*.xml
Expand All @@ -143,7 +143,7 @@ jobs:

- name: Archive integration test results
if: always() && (matrix.arch != 'arm64')
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: integ_test_result-${{ matrix.target }}-${{ matrix.arch }}
path: ./build/test_reports/packchkintegtests-*.xml
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
- name: Archive unit test results
if: (github.event_name == 'push')
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: unit_test_result-linux-amd64
path: ./build/test_reports/packchkunittests-*.xml
Expand All @@ -213,7 +213,7 @@ jobs:

- name: Archive integration test results
if: (github.event_name == 'push')
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: integ_test_result-linux-amd64
path: ./build/test_reports/packchkintegtests-*.xml
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
attempt_delay: 5000

- name: Archive coverage report
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: coverage-report
path: |
Expand All @@ -276,7 +276,7 @@ jobs:
mkdir -p tools/packchk/distribution/
- name: Download coverage report
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: coverage-report
path: tools/packchk/distribution/coverage/
Expand All @@ -300,7 +300,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Event File
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: Event File
path: ${{ github.event_path }}
22 changes: 11 additions & 11 deletions .github/workflows/packgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
arch: ${{ matrix.arch }}

- name: Archive packgen
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: packgen-${{ matrix.target }}-${{ matrix.arch }}
path: ./build/tools/packgen/${{ matrix.target }}-${{ matrix.arch }}/Release/${{ matrix.binary }}
Expand Down Expand Up @@ -97,37 +97,37 @@ jobs:
cp -r tools/packgen/test/data/CMakeTestMultipleBuilds/ tools/packgen/distribution/doc/examples/
- name: Download packgen linux-amd64
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: packgen-linux-amd64
path: tools/packgen/distribution/bin/linux-amd64/

- name: Download packgen linux arm64
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: packgen-linux-arm64
path: tools/packgen/distribution/bin/linux-arm64/

- name: Download packgen macos-amd64
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: packgen-darwin-amd64
path: tools/packgen/distribution/bin/darwin-amd64/

- name: Download packgen macos-arm64
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: packgen-darwin-arm64
path: tools/packgen/distribution/bin/darwin-arm64/

- name: Download packgen windows-amd64
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: packgen-windows-amd64
path: tools/packgen/distribution/bin/windows-amd64/

- name: Download packgen windows-arm64
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: packgen-windows-arm64
path: tools/packgen/distribution/bin/windows-arm64/
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:

- name: Archive unit tests results
if: always() && (matrix.arch != 'arm64')
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: unit_test_result-${{ matrix.target }}-${{ matrix.arch }}
path: ./build/test_reports/packgenunittests-*.xml
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
- name: Archive unit tests results
if: (github.event_name == 'push')
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: unit_test_result-linux-amd64
path: ./build/test_reports/packgenunittests-*.xml
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:
attempt_delay: 5000

- name: Archive coverage report
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: coverage-report
path: |
Expand All @@ -277,7 +277,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Event File
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: Event File
path: ${{ github.event_path }}
Loading

0 comments on commit d4a2872

Please sign in to comment.