Unnamed repository; edit this file 'description' to name the repository.
chore(ci): match `*-macos` by checking suffix
Simplifies a conditional expression in the CI workflow configuration. Co-authored-by: Michael Davis <[email protected]>
yvt 2022-08-02
parent 6d16d2c · commit aa4394c
-rw-r--r--.github/workflows/release.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d8baa3c1..b8be1541 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -116,7 +116,7 @@ jobs:
args: --release --locked --target ${{ matrix.target }}
- name: Strip release binary (linux and macos)
- if: matrix.build == 'x86_64-linux' || matrix.build == 'x86_64-macos' || matrix.build == 'aarch64-macos'
+ if: matrix.build == 'x86_64-linux' || endsWith(matrix.build, 'macos')
run: strip "target/${{ matrix.target }}/release/hx"
- name: Strip release binary (arm)