diff --git a/.github/workflows/release_created.yml b/.github/workflows/release_created.yml index aa57b63..7675a65 100644 --- a/.github/workflows/release_created.yml +++ b/.github/workflows/release_created.yml @@ -33,11 +33,11 @@ jobs: matrix: include: - os: windows-latest - output: RBSAgent.exe + output: RBSAgent-windows - os: ubuntu-latest - output: RBSAgent + output: RBSAgent-linux - os: macos-latest - output: RBSAgent.app + output: RBSAgent-mac steps: - name: Checkout code uses: actions/checkout@v2 @@ -57,40 +57,45 @@ jobs: - uses: actions/download-artifact@v3 - name: Display structure of downloaded files run: ls -alR - - name: Zip MacOS output - run: zip -r9 RBSAgent RBSAgent.app/ && mv RBSAgent.zip RBSAgent.app.zip - - name: Display structure of downloaded files - run: ls -alR - - uses: shogo82148/actions-upload-release-asset@v1 - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ./*RBSAgent* - overwrite: true + # - name: Zip MacOS output + # run: | + # zip -r9 RBSAgent RBSAgent.app/ + # mv RBSAgent.zip RBSAgent.app.zip + # mv ./RBSAgent.exe/RBSAgent.exe ./ + + # - name: Display structure of downloaded files + # run: ls -alR - - name: Upload Release Asset Windows - 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: ./RBSAgent.exe/RBSAgent.exe - asset_name: RBSAgent.exe - asset_content_type: application/vnd.microsoft.portable-executable - - name: Upload Release Asset Linux - 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: ./RBSAgent/RBSAgent - asset_name: RBSAgent - asset_content_type: application/x-executable - - name: Upload Release Asset Mac - 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: ./RBSAgent.app.zip - asset_name: RBSAgent - asset_content_type: application/zip \ No newline at end of file + # - uses: shogo82148/actions-upload-release-asset@v1 + # with: + # upload_url: ${{ github.event.release.upload_url }} + # asset_path: ./RBSAgent* + # overwrite: true + + # - name: Upload Release Asset Windows + # 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: ./RBSAgent.exe/RBSAgent.exe + # asset_name: RBSAgent.exe + # asset_content_type: application/vnd.microsoft.portable-executable + # - name: Upload Release Asset Linux + # 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: ./RBSAgent/RBSAgent + # asset_name: RBSAgent + # asset_content_type: application/x-executable + # - name: Upload Release Asset Mac + # 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: ./RBSAgent.app.zip + # asset_name: RBSAgent + # asset_content_type: application/zip \ No newline at end of file