We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent debf172 commit e191b5dCopy full SHA for e191b5d
.github/workflows/release.yaml
@@ -38,13 +38,15 @@ jobs:
38
RUSTC_WRAPPER: "sccache"
39
40
- run: cp target/${{ matrix.target }}/release-lto/${{ matrix.bin }} ${{ matrix.bin }}
41
- - run: |
42
- if [[ "${{ matrix.os }}" == "windows-latest" ]]
43
- then
44
- 7z a ${{ matrix.target}}.${{ matrix.suffix }} ${{ matrix.bin }}
45
- else
46
- tar czvf ${{ matrix.target}}.${{ matrix.suffix }} ${{ matrix.bin }}
47
- fi
+
+ - if: matrix.os == 'windows-latest'
+ run: |
+ 7z a "${{ matrix.target}}.${{ matrix.suffix }}" ${{ matrix.bin }}
+ - if: matrix.os != 'windows-latest'
48
+ tar czvf "${{ matrix.target}}.${{ matrix.suffix }}" ${{ matrix.bin }}
49
50
- name: Upload build artifacts
51
uses: actions/upload-artifact@v4
52
with:
0 commit comments