From e021eb0bd0406694c4c3bd14cfce45df810dfaa5 Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Sat, 21 Sep 2024 13:56:33 -0500 Subject: [PATCH] Only install musl if not compiling with cross --- Changes.md | 4 ++++ action.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changes.md b/Changes.md index 6ee63a1..4c2511a 100644 --- a/Changes.md +++ b/Changes.md @@ -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` diff --git a/action.yml b/action.yml index 2a1a176..545b70a 100644 --- a/action.yml +++ b/action.yml @@ -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