Only install musl if not compiling with cross

This commit is contained in:
Dave Rolsky 2024-09-21 13:56:33 -05:00
parent 2092d69e17
commit e021eb0bd0
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View File

@ -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`

View File

@ -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