File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -129,15 +129,17 @@ jobs:
129129 - name : Compress the binary on Windows
130130 if : inputs.runner == 'windows-latest'
131131 run : |
132- tar -czf iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz iwasm.exe
132+ # Follow the symlink to the actual binary file
133+ tar --dereference -czf iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz iwasm.exe
133134 Compress-Archive -Path iwasm.exe -DestinationPath iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.zip
134135 mv iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.* ../
135136 working-directory : ${{ inputs.cwd }}/build/Release
136137
137138 - name : compress the binary on non-Windows
138139 if : inputs.runner != 'windows-latest'
139140 run : |
140- tar czf iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz iwasm
141+ # Follow the symlink to the actual binary file
142+ tar --dereference -czf iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz iwasm
141143 zip iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.zip iwasm
142144 working-directory : ${{ inputs.cwd }}/build
143145
You can’t perform that action at this time.
0 commit comments