Skip to content

Commit 5375353

Browse files
committed
..actions
1 parent 0b7b6bd commit 5375353

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

.github/workflows/cppcmake.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,26 @@ jobs:
148148
pwd
149149
ls -all
150150
ls pkg-ubuntu-latest
151+
ls pkg-macOS-latest
151152
152-
- name: Upload Release Asset
153+
- name: Upload Release Asset (ubuntu)
153154
if: startsWith(github.ref, 'refs/tags/')
154-
id: upload-release-asset
155155
uses: actions/upload-release-asset@v1
156156
env:
157157
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
158158
with:
159159
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing its ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
160-
asset_path: pkg-ubuntu-latest
161-
asset_name: pkg-ubuntu-latest
162-
asset_content_type: application/zip
160+
asset_path: pkg-ubuntu-latest/AudioCapture-0.1-Linux64-bionic.deb
161+
asset_name: AudioCapture-0.1-Linux64-bionic.deb
162+
asset_content_type: application/vnd.debian.binary-package
163+
164+
- name: Upload Release Asset (macOS)
165+
if: startsWith(github.ref, 'refs/tags/')
166+
uses: actions/upload-release-asset@v1
167+
env:
168+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
169+
with:
170+
upload_url: ${{ steps.create_release.outputs.upload_url }}
171+
asset_path: pkg-macOS-latest/AudioCapture-1.13.0-MacOS64.dmg
172+
asset_name: AudioCapture-1.13.0-MacOS64.dmg
173+
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)