diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 8facc40..40668f1 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -55,14 +55,14 @@ jobs: - name: Download External Script shell: pwsh run: | - Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/mrFavoslav/KeyDrop-BOT/main/script/keydrop_giveaway_script.js' ` + Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/mrFavoslav/KeyDrop-BOT/main/script/KeyDropBOT_client.js' ` -Headers @{ Authorization = "token ${{ secrets.GH_TOKEN }}" } ` - -OutFile 'keydrop_giveaway_script.js' + -OutFile 'KeyDropBOT_client.js' - name: Rename Release Binary run: | if (Test-Path app\Guidzgo\bin\Release\Guidzgo.exe) { - Rename-Item -Path app\Guidzgo\bin\Release\Guidzgo.exe -NewName KeyDrop-BOT.exe + Rename-Item -Path app\Guidzgo\bin\Release\Guidzgo.exe -NewName KeyDrop-BOT_server.exe } else { Write-Error "Release binary not found." } @@ -71,8 +71,8 @@ jobs: uses: softprops/action-gh-release@v1 with: files: | - app/Guidzgo/bin/Release/KeyDrop-BOT.exe - keydrop_giveaway_script.js + app/Guidzgo/bin/Release/KeyDrop-BOT_server.exe + KeyDropBOT_client.js Source code (zip) Source code (tar.gz) env: diff --git a/script/keydrop_giveaway_script.js b/script/KeyDropBOT_client.js similarity index 100% rename from script/keydrop_giveaway_script.js rename to script/KeyDropBOT_client.js