From d7e649c44e9b89ced6e705c97dcf655b743f845a Mon Sep 17 00:00:00 2001 From: allMagicNB <116283787+allMagicNB@users.noreply.github.com> Date: Wed, 17 Jul 2024 15:00:23 +0800 Subject: [PATCH] Fix Replace --- .github/workflows/build.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e28eb14..087db48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,10 +14,6 @@ on: description: 'Configuration' default: 'Debug' type: string - replace: - description: 'Replace' - default: true - type: boolean release: description: 'Release' type: boolean @@ -41,7 +37,6 @@ jobs: with: msbuild-architecture: x64 - name: Replace - if: ${{ inputs.replace }} shell: powershell run: | (gc "Plain Craft Launcher 2\Modules\Minecraft\ModLaunch.vb") -replace 'Dim ClientId As String = ""', 'Dim ClientId As String = "${{ secrets.CLIENT_ID }}"' | Out-File "Plain Craft Launcher 2\Modules\Minecraft\ModLaunch.vb"