From 5b45fa505de440a4be27868a147cbee4d39600aa Mon Sep 17 00:00:00 2001 From: Thomas Harold Date: Tue, 10 Mar 2020 21:16:42 -0400 Subject: [PATCH] shorten up some long lines in the workflow --- .github/workflows/create-release-asset-on-git-tag.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release-asset-on-git-tag.yml b/.github/workflows/create-release-asset-on-git-tag.yml index d419b73..1905654 100644 --- a/.github/workflows/create-release-asset-on-git-tag.yml +++ b/.github/workflows/create-release-asset-on-git-tag.yml @@ -78,13 +78,16 @@ jobs: draft: false prerelease: true + # 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 - name: Attach Zip File to Release id: upload-release-asset-zip uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_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 + upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./${{ env.PROJECT }}-${{ env.RELEASE_TAG }}.zip asset_name: ${{ env.PROJECT }}-${{ env.RELEASE_TAG }}.zip asset_content_type: application/zip @@ -95,7 +98,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_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 + upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./src/${{ env.PROJECT }}/bin/${{ env.CONFIG }}/${{ env.PROJECT }}.${{ env.RELEASE_VERSION }}.nupkg asset_name: ${{ env.PROJECT }}.${{ env.RELEASE_VERSION }}.nupkg asset_content_type: application/zip