From 3d0b0bee8e344d5be33384708f51986eb89c4d35 Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Sun, 28 Mar 2021 09:09:07 -0700 Subject: [PATCH] fix: upload release with wildcard and remove checkout repo where not needed --- .github/workflows/main.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7cabdba08..007d66cfe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -128,9 +128,6 @@ jobs: needs: [build] steps: - - name: Checkout repo - uses: actions/checkout@v1 - - name: Add SSH deploy key uses: shimataro/ssh-key-action@v2 with: @@ -192,9 +189,6 @@ jobs: needs: [build-binary] steps: - - name: Checkout repo - uses: actions/checkout@v1 - - name: Add SSH deploy key uses: shimataro/ssh-key-action@v2 with: @@ -236,7 +230,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ${{ github.workspace }}/unraid-api.tgz + asset_path: ${{ github.workspace }}/unraid-api-*.tgz asset_name: unraid-api.tgz asset_content_type: application/gzip @@ -259,9 +253,6 @@ jobs: needs: [build-binary] steps: - - name: Checkout repo - uses: actions/checkout@v1 - - name: Add SSH deploy key uses: shimataro/ssh-key-action@v2 with: @@ -302,7 +293,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ${{ github.workspace }}/unraid-api.tgz + asset_path: ${{ github.workspace }}/unraid-api-*.tgz asset_name: unraid-api.tgz asset_content_type: application/gzip