mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
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
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -116,7 +116,7 @@ jobs:
|
|||||||
args: --release --locked --target ${{ matrix.target }}
|
args: --release --locked --target ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Strip release binary (linux and macos)
|
- 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"
|
run: strip "target/${{ matrix.target }}/release/hx"
|
||||||
|
|
||||||
- name: Strip release binary (arm)
|
- name: Strip release binary (arm)
|
||||||
|
Loading…
Reference in New Issue
Block a user