Skip to content

Commit 936fe96

Browse files
committed
Build windows debug version
1 parent ae6fd2d commit 936fe96

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@ jobs:
9292
with:
9393
name: windows-build-artifact
9494
path: bas-celik.windows.amd64.exe
95+
- name: Build Debug version
96+
run: |
97+
go build .
98+
mv bas-celik.exe bas-celik-debug.windows.amd64.exe
99+
- name: Upload Debug version
100+
uses: actions/upload-artifact@v4
101+
with:
102+
name: windows-debug-build-artifact
103+
path: bas-celik-debug.windows.amd64.exe
95104

96105
release:
97106
runs-on: ubuntu-latest
@@ -105,6 +114,7 @@ jobs:
105114
mv linux-build-artifact/* .
106115
mv linux-cli-build-artifact/* .
107116
mv windows-build-artifact/* .
117+
mv windows-debug-build-artifact/* .
108118
- name: Generate release body
109119
run: |
110120
touch changelog.md
@@ -122,12 +132,17 @@ jobs:
122132
sha256sum bas-celik.windows.amd64.exe >> changelog.md
123133
echo '```' >> changelog.md
124134
echo '' >> changelog.md
135+
echo '```' >> changelog.md
136+
sha256sum bas-celik-debug.windows.amd64.exe >> changelog.md
137+
echo '```' >> changelog.md
138+
echo '' >> changelog.md
125139
- name: Release
126140
uses: softprops/action-gh-release@v2
127141
with:
128142
files: |
129143
bas-celik.linux.amd64.tar.xz
130144
bas-celik-cli.linux.amd64
131145
bas-celik.windows.amd64.exe
146+
bas-celik-debug.windows.amd64.exe
132147
body_path: changelog.md
133148
tag_name: ${{github.ref_name}}

0 commit comments

Comments
 (0)