From aa3142bb3c5dae80c549c27d7214d82ff8dffe06 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 19 Jan 2022 15:44:40 -0500 Subject: [PATCH] testing upload release action --- .github/workflows/release.yml | 42 +++++------------------------------ 1 file changed, 5 insertions(+), 37 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec73f07..28f397b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 -