Skip to content

Commit

Permalink
Merge pull request #26 from NodeFactoryIo/mpetrun5/fix-artifact-upload
Browse files Browse the repository at this point in the history
Fix binary release upload action
  • Loading branch information
mpetrunic authored Sep 22, 2020
2 parents e9d9a27 + fcfefac commit 5fce19f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/vedran-daemon-linux-amd64
asset_path: ./vedran-daemon-linux-amd64
asset_name: vedran-daemon-linux-amd64
asset_content_type: application/x-binary

Expand All @@ -88,7 +88,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/vedran-daemon-linux-arm
asset_path: ./vedran-daemon-linux-arm
asset_name: vedran-daemon-linux-arm
asset_content_type: application/x-binary

Expand All @@ -99,7 +99,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/vedran-daemon-windows-amd64.exe
asset_path: ./vedran-daemon-windows-amd64.exe
asset_name: vedran-daemon-windows.exe
asset_content_type: application/x-binary

Expand All @@ -110,8 +110,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/vedran-daemon-darwin-amd64
asset_name: Vedran-daemon-macos
asset_path: ./vedran-daemon-darwin-amd64
asset_name: vedran-daemon-macos
asset_content_type: application/x-binary

#in case of failure
Expand Down

0 comments on commit 5fce19f

Please sign in to comment.