From 9659223213aa837ad2c8ef96d729b81055d1e998 Mon Sep 17 00:00:00 2001 From: Joshua Root Date: Fri, 21 Oct 2022 14:27:39 +1100 Subject: [PATCH] Try a different upload action --- .github/workflows/main.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 991b70b..a1cea4a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -81,11 +81,8 @@ jobs: run: echo "::set-output name=filename::MacPorts-$(echo $(basename $GITHUB_REF) | colrm 1 1)-$(uname -r | cut -f 1 -d .).tar.bz2" id: filename - name: Deploy binary to release - uses: actions/upload-release-asset@v1 + uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ github.token }} with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ${{ format( './{0}', steps.filename.outputs.filename ) }} - asset_name: ${{ format( '{0}', steps.filename.outputs.filename ) }} - asset_content_type: application/x-bzip2 + files: ${{ format( '{0}', steps.filename.outputs.filename ) }}