Skip to content

Commit

Permalink
Only install musl if not compiling with cross
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Sep 21, 2024
1 parent 2092d69 commit e021eb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.15 - 2024-09-21

- The `musl` packages are only installed when not cross-compiling.

## 0.0.14 - 2024-08-25

- When the given `target` includes the string `musl`, this action will install the `musl-tools`
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ runs:
- name: Install musl-tools on Linux if target includes "musl"
shell: bash
run: sudo apt-get update --yes && sudo apt-get install --yes musl-tools
if: contains(inputs.target, 'musl')
if: steps.determine-cross-compile.outputs.needs-cross != 'true' && contains(inputs.target, 'musl')
- name: Set build command
id: set-build-command
shell: bash
Expand Down

0 comments on commit e021eb0

Please sign in to comment.