File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1414 include :
1515 - os : ubuntu-latest
1616 target : x86_64-unknown-linux-musl
17- exe_suffix : " "
1817 - os : windows-latest
1918 target : x86_64-pc-windows-msvc
20- exe_suffix : " .exe"
2119 steps :
2220 - uses : actions/checkout@v3
2321
4240 uses : softprops/action-gh-release@v1
4341 env :
4442 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45- if : startsWith(github.ref, 'refs/tags/')
43+ if : startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
4644 with :
4745 files : |
48- dotter${{ matrix.exe_suffix }}
49- ${{ matrix.os == 'ubuntu-latest' && completions.zip }}
46+ dotter
47+ completions.zip
48+
49+ - name : Upload asset on Windows
50+ uses : softprops/action-gh-release@v1
51+ env :
52+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53+ if : startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows-latest'
54+ with :
55+ files : dotter.exe
You can’t perform that action at this time.
0 commit comments