Skip to content

Commit

Permalink
ci: tweak release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Jul 1, 2020
1 parent 506c974 commit b0d6223
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
- name: configure
run: cmake .
- name: build
run: cmake --build .
run: cmake --build . --config Release
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ jobs:
- name: configure
run: cmake .
- name: build
run: cmake --build .
run: cmake --build . --config Release
- name: zip
if: runner.os == 'macOS'
run: zip AtomicParsleyMacOS.zip AtomicParsley
- name: zip
if: runner.os == 'Windows'
run: 7z a -tzip AtomicParsleyWindows.zip Release/AtomicParsley.exe
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
with:
files: "AtomicParsley*"
files: "AtomicParsley*.zip"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit b0d6223

Please sign in to comment.