Skip to content

Commit

Permalink
Update github action versions (project-chip#32584)
Browse files Browse the repository at this point in the history
* Update github action versions

actions/upload-artifact@v4
Wandalen/[email protected]

* Make bootstrap-logs artifacts unique
  • Loading branch information
ksperling-apple authored Mar 18, 2024
1 parent 8f4c8b5 commit d2eab7f
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/actions/bootstrap-cache/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Bootstrap cache
runs:
using: "composite"
steps:
- uses: Wandalen/wretry.action@v1.3.0
- uses: Wandalen/wretry.action@v1.4.10
name: Bootstrap cache
continue-on-error: true
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
bootstrap-log-name:
description: "Bootstrap log name"
required: false
default: bootstrap-logs
default: bootstrap-logs-${{ github.job }}
runs:
using: "composite"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/checkout-submodules/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: Wandalen/wretry.action@v1.3.0
- uses: Wandalen/wretry.action@v1.4.10
name: Checkout submodules
with:
command: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform ${{ inputs.platform }} ${{ inputs.extra-parameters }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/perform-codeql-analysis/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
with:
sarif_file: "sarif-results/${{ inputs.language }}.sarif"
- name: Upload loc as a Build Artifact
uses: actions/upload-artifact@v2.2.0
uses: actions/upload-artifact@v4
with:
name: sarif-results
path: sarif-results
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/upload-bootstrap-logs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ inputs:
bootstrap-log-name:
description: "Bootstrap log name"
required: false
default: bootstrap-logs
default: bootstrap-logs-${{ github.job }}
runs:
using: "composite"
steps:
- name: Uploading bootstrap logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() && !env.ACT }}
with:
name: ${{ inputs.bootstrap-log-name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/upload-size-reports/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
using: "composite"
steps:
- name: Uploading Size Reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !env.ACT }}
with:
name: Size,${{ inputs.platform-name }}-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cirque.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Get Cirque Bootstrap cache key
id: cirque-bootstrap-cache-key
run: echo "val=$(scripts/tests/cirque_tests.sh cachekeyhash)" >> $GITHUB_OUTPUT
- uses: Wandalen/[email protected].5
- uses: Wandalen/[email protected].10
name: Cirque Bootstrap cache
if: ${{ !env.ACT }}
continue-on-error: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit_integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
uses: ./.github/actions/checkout-submodules-and-bootstrap
with:
platform: linux
bootstrap-log-name: bootstrap-logs-unittest-${{ matrix.type }}
- name: Artifact suffix
id: outsuffix
uses: haya14busa/action-cond@v1
Expand Down

0 comments on commit d2eab7f

Please sign in to comment.