From 53753534ab4535a445fb71dec614611f106a2f0b Mon Sep 17 00:00:00 2001 From: Chadwick Boulay Date: Thu, 27 Feb 2020 23:20:47 -0500 Subject: [PATCH] ..actions --- .github/workflows/cppcmake.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cppcmake.yml b/.github/workflows/cppcmake.yml index d5f4bb6..6841e6b 100644 --- a/.github/workflows/cppcmake.yml +++ b/.github/workflows/cppcmake.yml @@ -148,15 +148,26 @@ jobs: pwd ls -all ls pkg-ubuntu-latest + ls pkg-macOS-latest - - name: Upload Release Asset + - name: Upload Release Asset (ubuntu) if: startsWith(github.ref, 'refs/tags/') - id: upload-release-asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: 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 - asset_path: pkg-ubuntu-latest - asset_name: pkg-ubuntu-latest - asset_content_type: application/zip + asset_path: pkg-ubuntu-latest/AudioCapture-0.1-Linux64-bionic.deb + asset_name: AudioCapture-0.1-Linux64-bionic.deb + asset_content_type: application/vnd.debian.binary-package + + - name: Upload Release Asset (macOS) + if: startsWith(github.ref, 'refs/tags/') + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: pkg-macOS-latest/AudioCapture-1.13.0-MacOS64.dmg + asset_name: AudioCapture-1.13.0-MacOS64.dmg + asset_content_type: application/octet-stream