Skip to content

Commit 0f44adf

Browse files
committed
debug workflows
1 parent 77841ce commit 0f44adf

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/build-for-release.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ jobs:
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

@@ -42,8 +40,16 @@ jobs:
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

0 commit comments

Comments
 (0)