Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from RunbookSolutions/staging
Browse files Browse the repository at this point in the history
Fix asset upload on release
  • Loading branch information
sniper7kills authored Nov 28, 2023
2 parents 431508f + 67b75b2 commit 3dfddc0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release_created.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,16 @@ jobs:
uses: actions/checkout@v2
- uses: actions/download-artifact@v3
with:
path: ./dist
path: ./
- name: Display structure of downloaded files
run: ls -alR
- name: Upload Release Asset Windows
uses: actions/[email protected]
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/RBSAgent.exe
asset_path: ./RBSAgent.exe
asset_name: RBSAgent.exe
asset_content_type: application/x-executable
- name: Upload Release Asset Linux
Expand All @@ -73,7 +75,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/RBSAgent
asset_path: ./RBSAgent
asset_name: RBSAgent
asset_content_type: application/x-executable
- name: Upload Release Asset Max
Expand All @@ -82,6 +84,6 @@ 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/RBSAgent.app
asset_path: ./RBSAgent.app
asset_name: RBSAgent
asset_content_type: application/x-executable

0 comments on commit 3dfddc0

Please sign in to comment.