From e555b41431c262f2cedc0715f6bdf4648472215a Mon Sep 17 00:00:00 2001 From: leafus Date: Sun, 29 Sep 2024 04:30:23 +0200 Subject: [PATCH] Update .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index e1cc58d..da5585c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -65,12 +65,8 @@ jobs: run: echo "upload_url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_ENV - name: Upload Go binary to release - uses: actions/upload-release-asset@v1 + uses: softprops/action-gh-release@v1 with: - upload_url: ${{ env.upload_url }} - asset_path: ./s3-client - asset_name: s3-client_${{ env.new_version }}_linux_amd64 - asset_content_type: application/octet-stream + files: ./s3-client env: - GITEA_TOKEN: ${{ secrets.TOKEN }} GITHUB_TOKEN: ${{ secrets.TOKEN }} \ No newline at end of file