Skip to content

Commit

Permalink
Merge pull request #13102 from rancher/dependabot/github_actions/acti…
Browse files Browse the repository at this point in the history
…ons/upload-artifact-4

Bump actions/upload-artifact from 3 to 4
  • Loading branch information
rak-phillip authored Jan 16, 2025
2 parents 946fd38 + 3457d9c commit cf3526e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-extension-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Upload charts artifact
if: github.ref_type == 'tag' || (github.ref == 'refs/heads/main' && github.event_name != 'pull_request') || inputs.is_test == 'true'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: charts
path: tmp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
shell: bash

- name: Upload files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/extensions-compatibility-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,17 @@ jobs:

# Upload to sorry cypress in case of failure
- name: Upload screenshots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: ${{github.run_number}}-${{github.run_attempt}}-extensions-compatibility-tests-screenshots-${{ matrix.role.tag }}+${{ matrix.features[0] }}
name: ${{github.run_number}}-${{github.run_attempt}}-extensions-compatibility-tests-screenshots-${{ matrix.role.tag }}+${{ matrix.features[0] }}-${{ matrix.rancherEnv }}
path: cypress/screenshots

- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: ${{github.run_number}}-${{github.run_attempt}}-extensions-compatibility-tests-screenshots-${{ matrix.role.tag }}+${{ matrix.features[0] }}
pattern: ${{github.run_number}}-${{github.run_attempt}}-extensions-compatibility-tests-screenshots-*

# Slack message with outcome - success
- name: Slack message in workflow success
Expand All @@ -88,4 +94,4 @@ jobs:
curl -X POST \
-H "Content-type: application/json; charset=utf-8" \
--data '{"name": "${{ matrix.rancherEnv[0] }} - image:${{ matrix.rancherEnv[1] }} - ${{ matrix.features[1] }}", "status": "Workflow failed! 🆘", "workflow_run": ${{ github.run_id }} }' \
$SLACK_URL
$SLACK_URL

0 comments on commit cf3526e

Please sign in to comment.