Skip to content

Commit

Permalink
E2E: update github action to upload artifacts
Browse files Browse the repository at this point in the history
otherwise it fails with
```
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
```

and some changes to make yaml linter quiet.

Signed-off-by: karampok <[email protected]>
  • Loading branch information
karampok committed Sep 19, 2024
1 parent ace5640 commit 200ca88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/composite/collectlogs/action.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "collectlogs"
description: "Collect and upload the kind logs"

Expand Down Expand Up @@ -26,7 +27,7 @@ runs:
sudo chmod -R o+r /tmp/kind_logs
- name: Archive kind logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifact-name }}-kind-logs
name: ${{ inputs.artifact-name }}-kind-logs
path: /tmp/kind_logs

0 comments on commit 200ca88

Please sign in to comment.