Skip to content

Commit bf50321

Browse files
committed
upload exe file in windows
1 parent 3a6ab9e commit bf50321

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/rpe_test.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,16 @@ jobs:
217217

218218

219219
- name: Upload Release
220-
if: startsWith(github.ref, 'refs/tags/')
220+
if: ${{ matrix.os != 'windows-latest' && contains(github.ref, 'refs/tags/') }}
221221
uses: softprops/action-gh-release@v1
222222
with:
223-
files: dist/rapid_power_estimator*.tar.gz*
223+
files: dist/rapid_power_estimator*.tar.gz
224+
225+
226+
- name: Upload Release
227+
if: ${{ matrix.os == 'windows-latest' && contains(github.ref, 'refs/tags/') }}
228+
uses: softprops/action-gh-release@v1
229+
with:
230+
files: dist/rapid_power_estimator*.exe
224231

225232

0 commit comments

Comments
 (0)