Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.4-stable] Simplify assets.yml by using wildcards and loops #4399

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

yash-zededa
Copy link
Collaborator

Backport of: 4397

The list of assets to convert to ${{ env.ARCH }} followed by the name, and then the list of uploads, was a fixed list. This made it break when anything changed. This PR changes it so that it just converts all assets in assets/ to prepend ${{ env.ARCH }}, and uses the glob for uploading, assets/${{ env.ARCH }}.*

No changes made.

Signed-off-by: Avi Deitcher avi@deitcher.net
(cherry picked from commit 89e5e86)

The list of assets to convert to `${{ env.ARCH }}` followed by the name, and then the list of uploads, was a fixed list. This made it break when anything changed.
This PR changes it so that it just converts all assets in `assets/` to prepend `${{ env.ARCH }}`, and uses the glob for uploading, `assets/${{ env.ARCH }}.*`

Signed-off-by: Avi Deitcher <avi@deitcher.net>
(cherry picked from commit 89e5e86)
@yash-zededa yash-zededa marked this pull request as ready for review October 23, 2024 12:32
@eriknordmark eriknordmark merged commit 0617257 into 13.4-stable Oct 23, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants