From d9ddf77dad6ce9eef92cd5ca04a1f157dd57f6e5 Mon Sep 17 00:00:00 2001 From: Will G Date: Mon, 27 Nov 2023 19:04:31 -0500 Subject: [PATCH] Fix asset upload on release --- .github/workflows/release_created.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_created.yml b/.github/workflows/release_created.yml index b9949b8..e8b0f2d 100644 --- a/.github/workflows/release_created.yml +++ b/.github/workflows/release_created.yml @@ -64,7 +64,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's 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: ./dist + asset_path: ./dist/RBSAgent.exe asset_name: RBSAgent.exe asset_content_type: application/x-executable - name: Upload Release Asset Linux @@ -73,15 +73,15 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's 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: ./dist + asset_path: ./dist/RBSAgent asset_name: RBSAgent asset_content_type: application/x-executable - - name: Upload Release Asset Linux + - name: Upload Release Asset Max uses: actions/upload-release-asset@v1.0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's 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: ./dist + asset_path: ./dist/RBSAgent.app asset_name: RBSAgent asset_content_type: application/x-executable \ No newline at end of file