From c56237621686c83bcba4d026466cca3d58692e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Conrad=20H=C3=BCbler?= Date: Fri, 27 Dec 2024 14:45:35 +0100 Subject: [PATCH] wget ... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Conrad Hübler --- .github/workflows/main.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b023f3..236f2c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,16 +41,12 @@ jobs: mv harbour-tidalplayer-*-1.aarch64.rpm harbour-tidalplayer-master-1.noarch.rpm ls -la - - name: Install curl - run: | - zypper --non-interactive install curl - - name: Upload to Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | cd /home/mersdk/harbour-tidalplayer/RPMS/ - curl -H "Authorization: token $GITHUB_TOKEN" \ - -H "Content-Type: application/x-rpm" \ - --data-binary @harbour-tidalplayer-master-1.noarch.rpm \ + wget --header="Authorization: token $GITHUB_TOKEN" \ + --header="Content-Type: application/x-rpm" \ + --post-file=harbour-tidalplayer-master-1.noarch.rpm \ "https://uploads.github.com/repos/conradhuebler/harbour-tidalplayer/releases/nightly/assets?name=harbour-tidalplayer-master-1.noarch.rpm"