This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 4d6c3bb906f chore: Use actions/upload-artifact v4
4d6c3bb906f is described below
commit 4d6c3bb906f21d6a0b22c43401cc33455fbfa168
Author: Aurélien Pupier <[email protected]>
AuthorDate: Tue Jun 4 11:13:26 2024 +0200
chore: Use actions/upload-artifact v4
it will avoid this message:
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of
actions/upload-artifact that is scheduled for deprecation: "build.log",
"tests.log".
Please update your workflow to use v4 of the artifact actions.
Learn more:
https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
It wasn't updated automatically by dependabot because it is inside
reusable actions.
It doesn't seem that this action are used in matrix jobs that can upload
several times the same artifact so we should be fine just by upgrading
the number
Signed-off-by: Aurélien Pupier <[email protected]>
---
.github/actions/component-test/action.yaml | 2 +-
.github/actions/incremental-build/action.yaml | 2 +-
.github/actions/quick-test/action.yaml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/actions/component-test/action.yaml
b/.github/actions/component-test/action.yaml
index 4c1b456d1d5..c10f40bc39a 100644
--- a/.github/actions/component-test/action.yaml
+++ b/.github/actions/component-test/action.yaml
@@ -44,7 +44,7 @@ runs:
FAST_BUILD: "true"
LOG_FILE: build.log
- name: archive logs
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
if: always()
with:
name: build.log
diff --git a/.github/actions/incremental-build/action.yaml
b/.github/actions/incremental-build/action.yaml
index 0cda05b500a..30e1d377e21 100644
--- a/.github/actions/incremental-build/action.yaml
+++ b/.github/actions/incremental-build/action.yaml
@@ -48,7 +48,7 @@ runs:
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
- name: archive logs
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
if: always()
with:
name: incremental-${{ inputs.mode }}.log
diff --git a/.github/actions/quick-test/action.yaml
b/.github/actions/quick-test/action.yaml
index ea802873dd8..c8fb8e4eb63 100644
--- a/.github/actions/quick-test/action.yaml
+++ b/.github/actions/quick-test/action.yaml
@@ -50,7 +50,7 @@ runs:
shell: bash
run: echo $PR_NUMBER > ./automated-build-log/pr_number
- name: archive logs
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs