Skip to content

Commit 4ab907b

Browse files
committed
upload .exe file in case of windows
1 parent 482bb90 commit 4ab907b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/rpe_test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)