File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 99
99
codesign : ' -'
100
100
codesign-prefix : ' com.example.'
101
101
codesign-options : ' runtime'
102
- upx : ${{ startsWith(matrix.os, 'ubuntu-') && matrix.target != 'x86_64-pc-windows-gnu' && matrix.target != 'aarch64-unknown-linux-gnu' }}
102
+ upx : ${{ startsWith(matrix.os, 'ubuntu-') && matrix.target != 'x86_64-pc-windows-gnu' && ( matrix.target != 'aarch64-unknown-linux-gnu' || matrix.build_tool == 'cargo') }}
103
103
- name : Check action outputs
104
104
run : |
105
105
printf 'outputs.archive should not be empty\n'
@@ -123,7 +123,10 @@ jobs:
123
123
printf 'outputs.md5 should be a file\n'
124
124
test -f "${{ steps.upload-rust-binary-action.outputs.md5 }}"
125
125
- name : Check UPX
126
- if : startsWith(matrix.os, 'ubuntu-') && matrix.target != 'x86_64-pc-windows-gnu' && matrix.target != 'aarch64-unknown-linux-gnu'
126
+ if : |
127
+ startsWith(matrix.os, 'ubuntu-') &&
128
+ matrix.target != 'x86_64-pc-windows-gnu' &&
129
+ (matrix.target != 'aarch64-unknown-linux-gnu' || matrix.build_tool == 'cargo')
127
130
run : |
128
131
printf 'binary should be compressed with UPX\n'
129
132
target_dir="./test-crate/target/release"
You can’t perform that action at this time.
0 commit comments