From fcfefaca853038ed6ad525ec6077f2f7461a96bb Mon Sep 17 00:00:00 2001 From: Matija Petrunic Date: Tue, 22 Sep 2020 09:05:01 +0200 Subject: [PATCH] Fix binary release upload action --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aff3e9f..94688f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 @@ -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 @@ -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