Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workflow not adding binary artifacts to release #15

Merged
merged 2 commits into from
Sep 12, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Workflow: Archive as .zip for Windows
  • Loading branch information
Funami580 committed Sep 10, 2021
commit 1aa9b1124a7d7f6029e0f05e2e7869e39523174a
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ jobs:
- name: Archive as .tar.gz (macOS)
if: matrix.os == 'macos-latest'
run: tar cfz htmlq-x86_64-darwin.tar.gz -C target/release htmlq
- name: Archive as .tar.gz (Windows)
- name: Archive as .zip (Windows)
if: matrix.os == 'windows-latest'
shell: bash
run: tar cfz htmlq-x86_64-windows.tar.gz -C target/release htmlq.exe
run: 7z a -tzip -mm=Deflate htmlq-x86_64-windows.zip ./target/release/htmlq.exe
- name: Publish
uses: softprops/action-gh-release@v1
with:
files: htmlq*.tar.gz
files: |
htmlq*.tar.gz
htmlq*.zip