From ccf71c74a2f287f04d9cc5a6a38e714503f9187e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Conrad=20H=C3=BCbler?= Date: Fri, 27 Dec 2024 15:04:12 +0100 Subject: [PATCH] release id 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 | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c95cbe4..2c6c49e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,17 +45,6 @@ jobs: run: | sudo zypper --non-interactive install curl - - - name: Get Release ID - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - RELEASE_ID=$(curl -H "Authorization: token $GITHUB_TOKEN" \ - -H "Accept: application/vnd.github.v3+json" \ - https://api.github.com/repos/conradhuebler/harbour-tidalplayer/releases/tags/master | \ - grep -o '"id": [0-9]*' | head -1 | cut -d' ' -f2) - echo "RELEASE_ID=$RELEASE_ID" >> $GITHUB_ENV - - name: Upload to Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -65,4 +54,4 @@ jobs: -H "Authorization: token $GITHUB_TOKEN" \ -H "Content-Type: application/x-rpm" \ --data-binary @harbour-tidalplayer-master-1.noarch.rpm \ - "https://uploads.github.com/repos/conradhuebler/harbour-tidalplayer/releases/${RELEASE_ID}/assets?name=harbour-tidalplayer-master-1.noarch.rpm" + "https://uploads.github.com/repos/conradhuebler/harbour-tidalplayer/releases/148043359/assets?name=harbour-tidalplayer-master-1.noarch.rpm"