Skip to content

Commit

Permalink
second attempt to upload release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
sterin committed Sep 13, 2020
1 parent 38e5525 commit 1036cd0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
draft: false
prerelease: false

- name: Get Asset Paths
id: get_asset
run: echo ::set-output name=asset_name::$(cd build ; ls *.tar.gz)

- name: Upload Release Asset
if: startsWith(github.event.ref, 'refs/tags')
id: upload-release-asset
Expand All @@ -55,6 +59,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/super_prove-${{ github.ref }}-Ubuntu_18.04-Release.tar.gz
asset_name: super_prove-${{ github.ref }}-Ubuntu_18.04-Release.tar.gz
asset_path: build/${{ steps.get_asset.outputs.asset_name }}
asset_name: ${{ steps.get_asset.outputs.asset_name }}
asset_content_type: application/tar+gzip

0 comments on commit 1036cd0

Please sign in to comment.