Skip to content

Commit

Permalink
testing upload release action
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLevander authored Jan 19, 2022
1 parent cf442b7 commit aa3142b
Showing 1 changed file with 5 additions and 37 deletions.
42 changes: 5 additions & 37 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,47 +95,15 @@ jobs:

- name: Upload Release Asset
id: upload-resources
uses: actions/upload-release-asset@v1
uses: svenstaro/upload-release-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.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: zips/DeepPhe-resources.zip
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: zips/DeepPhe-resources.zip
asset_name: DeepPhe-resources.zip
asset_content_type: application/zip

- name: Upload Release Asset
id: upload-lib
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.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: zips/DeepPhe-lib.zip
asset_name: DeepPhe-lib.zip
asset_content_type: application/zip
tag: 'refs/heads/main'
overwrite: true

- name: Upload Release Asset
id: upload-bin
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.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: zips/DeepPhe-bin.zip
asset_name: DeepPhe-bin.zip
asset_content_type: application/zip

- name: Upload Release Asset
id: upload-neo4j
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.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: zips/DeepPhe-neo4j.zip
asset_name: DeepPhe-neo4j.zip
asset_content_type: application/zip



0 comments on commit aa3142b

Please sign in to comment.