File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ jobs:
112112 matrix :
113113 os :
114114 - ubuntu-22.04 # This is CentOS 7 under the hood
115- - macos-latest
115+ - macos-12
116116 - windows-latest
117117 runs-on : ${{ matrix.os }}
118118 permissions :
@@ -202,12 +202,20 @@ jobs:
202202 echo ${{ github.ref }}
203203
204204 - name : Upload Package
205- if : ${{ github.ref == 'refs/heads/main' }}
205+ if : ${{ github.ref == 'refs/heads/main' && matrix.os != 'windows-latest' }}
206206 uses : actions/upload-artifact@v3
207207 with :
208208 name : rapid_power_estimator_${{ matrix.os }}
209209 path : dist/rapid_power_estimator*.tar.gz*
210210
211+ - name : Upload Package
212+ if : ${{ github.ref == 'refs/heads/main' && matrix.os == 'windows-latest' }}
213+ uses : actions/upload-artifact@v3
214+ with :
215+ name : rapid_power_estimator_${{ matrix.os }}
216+ path : dist/rapid_power_estimator*.exe
217+
218+
211219 - name : Upload Release
212220 if : startsWith(github.ref, 'refs/tags/')
213221 uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments