Skip to content

Commit

Permalink
zip linux artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Odizinne committed Aug 16, 2024
1 parent 8c8ad54 commit 1625cf5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ jobs:
qmake ../HeadsetControl-Qt.pro CONFIG+=release
make -j$(nproc)
- name: Zip binaries folder
run: |
zip build/HeadsetControl-Qt_linux_64.zip build/HeadsetControl-Qt
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -198,6 +202,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: List files in directory
run: ls -la

- name: Zip binaries folder
run: |
zip ./HeadsetControl-Qt_linux_64.zip ./HeadsetControl-Qt
- name: Upload Windows release asset
uses: actions/upload-release-asset@v1
with:
Expand All @@ -212,7 +223,7 @@ jobs:
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: HeadsetControl-Qt
asset_path: HeadsetControl-Qt_linux_64.zip
asset_name: HeadsetControl-Qt_linux_64.zip
asset_content_type: application/octet-stream
env:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,12 @@ jobs:
qmake ../HeadsetControl-Qt.pro CONFIG+=release
make -j$(nproc)
- name: Zip binaries folder
run: |
zip build/HeadsetControl-Qt_linux_64.zip build/HeadsetControl-Qt
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: HeadsetControl-Qt_linux_64
path: build/HeadsetControl-Qt
path: build/HeadsetControl-Qt_linux_64.zip

0 comments on commit 1625cf5

Please sign in to comment.