Skip to content

Commit b0d6223

Browse files
committed
ci: tweak release workflow
1 parent 506c974 commit b0d6223

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
- name: configure
2323
run: cmake .
2424
- name: build
25-
run: cmake --build .
25+
run: cmake --build . --config Release

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,16 @@ jobs:
2121
- name: configure
2222
run: cmake .
2323
- name: build
24-
run: cmake --build .
24+
run: cmake --build . --config Release
25+
- name: zip
26+
if: runner.os == 'macOS'
27+
run: zip AtomicParsleyMacOS.zip AtomicParsley
28+
- name: zip
29+
if: runner.os == 'Windows'
30+
run: 7z a -tzip AtomicParsleyWindows.zip Release/AtomicParsley.exe
2531
- name: "Upload to Tagged Release"
2632
uses: softprops/action-gh-release@v1
2733
with:
28-
files: "AtomicParsley*"
34+
files: "AtomicParsley*.zip"
2935
env:
3036
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)