Skip to content

Commit 53ed559

Browse files
committed
Update GitHub Actions to use upload/download artifact v4 API
* Updated `actions/download-artifact` to `v4` in `bitbake-build` and `podman-robot` workflows. Adjusted inputs to include `pattern` and `merge-multiple`. * Updated `actions/upload-artifact` to `v4` in `bitbake-repo` workflow. See: * https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ * https://github.blog/news-insights/product-news/get-started-with-v4-of-github-actions-artifacts/ * https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
1 parent 0eca713 commit 53ed559

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/actions/bitbake-build/action.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ runs:
2727
echo "RELEASE=${{ inputs.repo_release }}"
2828
echo "======================================================================"
2929
- name: Download timestamp artifact
30-
uses: actions/download-artifact@v3
30+
uses: actions/download-artifact@v4
3131
with:
32-
name: timestamp.txt
32+
pattern: timestamp.txt
33+
merge-multiple: true
3334
- name: Get timestamp prefix
3435
id: timestamp
3536
shell: bash

.github/actions/bitbake-repo/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ runs:
4242
git rebase tmp/main
4343
popd
4444
- name: Upload timestamp prefix artifact
45-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4646
with:
4747
name: timestamp.txt
4848
path: timestamp.txt

.github/actions/podman-robot/action.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ runs:
2727
echo "RELEASE=${{ inputs.repo_release }}"
2828
echo "======================================================================"
2929
- name: Download timestamp artifact
30-
uses: actions/download-artifact@v3
30+
uses: actions/download-artifact@v4
3131
with:
32-
name: timestamp.txt
32+
pattern: timestamp.txt
33+
merge-multiple: true
3334
- name: Get timestamped prefix
3435
id: timestamp
3536
shell: bash

0 commit comments

Comments
 (0)