@@ -61,13 +61,14 @@ jobs:
61
61
62
62
63
63
cli :
64
- name : " ${{ matrix.os.base }} - ${{ matrix.license_type.readable }}"
64
+ name : " ${{ matrix.os.base }}${{ matrix.os.target_suffix }} - ${{ matrix.license_type.readable }}"
65
65
strategy :
66
66
matrix :
67
67
os :
68
68
[
69
- { base: "linux", distro: "ubuntu-22.04" },
70
- { base: "mac", distro: "macos-13" }
69
+ { base: "linux", distro: "ubuntu-22.04", target_suffix: "" },
70
+ { base: "mac", distro: "macos-13", target_suffix: "" },
71
+ { base: "mac", distro: "macos-14", target_suffix: "-arm64" }
71
72
]
72
73
license_type :
73
74
[
@@ -108,12 +109,12 @@ jobs:
108
109
109
110
- name : Zip Unix
110
111
run : |
111
- cd ./dist/${{ matrix.license_type.build_prefix }}/${{ env.LOWER_RUNNER_OS }}
112
- zip ../../bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}-${{ env._PACKAGE_VERSION }}.zip ./bw
112
+ cd ./dist/${{ matrix.license_type.build_prefix }}/${{ env.LOWER_RUNNER_OS }}${{ matrix.os.target_suffix }}
113
+ zip ../../bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}${{ matrix.os.target_suffix }} -${{ env._PACKAGE_VERSION }}.zip ./bw
113
114
114
115
- name : Version Test
115
116
run : |
116
- unzip "./dist/bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}-${{ env._PACKAGE_VERSION }}.zip" -d "./test"
117
+ unzip "./dist/bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}${{ matrix.os.target_suffix }} -${{ env._PACKAGE_VERSION }}.zip" -d "./test"
117
118
testVersion=$(./test/bw -v)
118
119
echo "version: $_PACKAGE_VERSION"
119
120
echo "testVersion: $testVersion"
@@ -125,22 +126,22 @@ jobs:
125
126
- name : Create checksums Unix
126
127
run : |
127
128
cd ./dist
128
- shasum -a 256 bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}-${{ env._PACKAGE_VERSION }}.zip \
129
+ shasum -a 256 bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}${{ matrix.os.target_suffix }} -${{ env._PACKAGE_VERSION }}.zip \
129
130
| awk '{split($0, a); print a[1]}' > bw${{
130
- matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}-sha256-${{ env._PACKAGE_VERSION }}.txt
131
+ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}${{ matrix.os.target_suffix }} -sha256-${{ env._PACKAGE_VERSION }}.txt
131
132
132
133
- name : Upload unix zip asset
133
134
uses : actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
134
135
with :
135
- name : bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}-${{ env._PACKAGE_VERSION }}.zip
136
- path : apps/cli/dist/bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}-${{ env._PACKAGE_VERSION }}.zip
136
+ name : bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}${{ matrix.os.target_suffix }} -${{ env._PACKAGE_VERSION }}.zip
137
+ path : apps/cli/dist/bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}${{ matrix.os.target_suffix }} -${{ env._PACKAGE_VERSION }}.zip
137
138
if-no-files-found : error
138
139
139
140
- name : Upload unix checksum asset
140
141
uses : actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
141
142
with :
142
- name : bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}-sha256-${{ env._PACKAGE_VERSION }}.txt
143
- path : apps/cli/dist/bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}-sha256-${{ env._PACKAGE_VERSION }}.txt
143
+ name : bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}${{ matrix.os.target_suffix }} -sha256-${{ env._PACKAGE_VERSION }}.txt
144
+ path : apps/cli/dist/bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}${{ matrix.os.target_suffix }} -sha256-${{ env._PACKAGE_VERSION }}.txt
144
145
if-no-files-found : error
145
146
146
147
cli-windows :
0 commit comments