|
97 | 97 | shell: bash |
98 | 98 |
|
99 | 99 | - uses: actions/upload-artifact@v4 |
| 100 | + if: matrix.platform == 'linux' |
100 | 101 | with: |
101 | | - name: ${{ matrix.platform }}-${{ matrix.arch }}-distributables |
102 | | - path: dist/HttpToolkit-* |
| 102 | + name: HttpToolkit-linux-${{ matrix.arch }}-deb |
| 103 | + path: dist/HttpToolkit-*.deb |
| 104 | + if-no-files-found: error |
| 105 | + |
| 106 | + - uses: actions/upload-artifact@v4 |
| 107 | + if: matrix.platform == 'linux' |
| 108 | + with: |
| 109 | + name: HttpToolkit-linux-${{ matrix.arch }}-rpm |
| 110 | + path: dist/HttpToolkit-*.rpm |
| 111 | + if-no-files-found: error |
| 112 | + |
| 113 | + - uses: actions/upload-artifact@v4 |
| 114 | + if: matrix.platform == 'linux' |
| 115 | + with: |
| 116 | + name: HttpToolkit-linux-${{ matrix.arch }}-AppImage |
| 117 | + path: dist/HttpToolkit-*.AppImage |
| 118 | + if-no-files-found: error |
| 119 | + |
| 120 | + - uses: actions/upload-artifact@v4 |
| 121 | + if: matrix.platform == 'linux' |
| 122 | + with: |
| 123 | + name: HttpToolkit-linux-${{ matrix.arch }}-zip |
| 124 | + path: dist/HttpToolkit-*linux*.zip |
| 125 | + if-no-files-found: error |
| 126 | + |
| 127 | + - uses: actions/upload-artifact@v4 |
| 128 | + if: matrix.platform == 'windows' |
| 129 | + with: |
| 130 | + name: HttpToolkit-windows-${{ matrix.arch }}-exe |
| 131 | + path: dist/HttpToolkit-*.exe |
| 132 | + if-no-files-found: error |
| 133 | + |
| 134 | + - uses: actions/upload-artifact@v4 |
| 135 | + if: matrix.platform == 'windows' |
| 136 | + with: |
| 137 | + name: HttpToolkit-windows-${{ matrix.arch }}-zip |
| 138 | + path: dist/HttpToolkit-*win*.zip |
| 139 | + if-no-files-found: error |
| 140 | + |
| 141 | + - uses: actions/upload-artifact@v4 |
| 142 | + if: matrix.platform == 'mac' |
| 143 | + with: |
| 144 | + name: HttpToolkit-mac-${{ matrix.arch }}-dmg |
| 145 | + path: dist/HttpToolkit-*.dmg |
103 | 146 | if-no-files-found: error |
104 | 147 | publish: |
105 | 148 | name: Publish a release |
|
0 commit comments