chore(ci): match *-macos
by checking suffix
Simplifies a conditional expression in the CI workflow configuration. Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
parent
6d16d2cbc9
commit
aa4394ce12
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue