diff options
author | yvt | 2022-07-28 00:35:28 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-08-02 03:04:09 +0000 |
commit | aa4394ce1291b0af0b6da5e54cfa60a4c13f7aab (patch) | |
tree | 6a2e0c7b34216cc99bac8d11d4e248d9b2da7126 | |
parent | 6d16d2cbc910f2e3e4131fae41a8cd67c287e6a5 (diff) |
chore(ci): match `*-macos` by checking suffix
Simplifies a conditional expression in the CI workflow configuration.
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
-rw-r--r-- | .github/workflows/release.yml | 2 |
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) |