Explorar o código

Merge branch 'main' of https://github.com/allMagicNB/PCL2

allMagicNB %!s(int64=2) %!d(string=hai) anos
pai
achega
2b57e1ec48
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      .github/workflows/build.yml

+ 1 - 2
.github/workflows/build.yml

@@ -31,7 +31,6 @@ jobs:
       with:
       with:
         msbuild-architecture: x64
         msbuild-architecture: x64
     - name: Replace
     - name: Replace
-      shell: powershell
       run: |
       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"
         (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"
         (gc "Plain Craft Launcher 2\Modules\ModSecret.vb") -replace 'Client.Headers\("x-api-key"\) = ""', 'Client.Headers("x-api-key") = "${{ secrets.X_API_KEY }}"' | Out-File "Plain Craft Launcher 2\Modules\ModSecret.vb"
         (gc "Plain Craft Launcher 2\Modules\ModSecret.vb") -replace 'Client.Headers\("x-api-key"\) = ""', 'Client.Headers("x-api-key") = "${{ secrets.X_API_KEY }}"' | Out-File "Plain Craft Launcher 2\Modules\ModSecret.vb"
@@ -42,4 +41,4 @@ jobs:
       uses: actions/upload-artifact@v4
       uses: actions/upload-artifact@v4
       with:
       with:
         name: ${{ env.configuration }} ${{ env.describe }}
         name: ${{ env.configuration }} ${{ env.describe }}
-        path: Plain Craft Launcher 2\obj\Debug\Plain Craft Launcher 2.exe
+        path: ${{ GITHUB.WORKSPACE }}\Plain Craft Launcher 2\obj\Debug\Plain Craft Launcher 2.exe