From 0f79893040dd7cae0852044d84721e270224977d Mon Sep 17 00:00:00 2001 From: acocalypso Date: Mon, 8 Apr 2024 13:08:27 +0200 Subject: [PATCH] fix? --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 09c5d1c..37fd0cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -108,16 +108,16 @@ jobs: "url": "https://github.com/${{ github.repository }}/releases/download/'"$tag"'/'"$app_name"'-x86_64-setup.nsis.zip" } } - }' > updater.json + }' > update.json - name: Update Gist if: matrix.platform == 'ubuntu-20.04' run: | # Extract content of updater.json - UPDATER_JSON_CONTENT=$(cat updater.json) + UPDATER_JSON_CONTENT=$(cat update.json) # Get Gist ID from secrets GIST_ID="${{ secrets.GIST_ID }}" # Make a PATCH request to update the gist - curl -X PATCH -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d "{\"files\":{\"updater.json\":{\"content\":\"$UPDATER_JSON_CONTENT\"}}}" "https://api.github.com/gists/$GIST_ID" \ No newline at end of file + curl -X PATCH -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d "{\"files\":{\"update.json\":{\"content\":\"$UPDATER_JSON_CONTENT\"}}}" "https://api.github.com/gists/$GIST_ID" \ No newline at end of file