From 77ac500627231a8cd8f7e95e8a917e80e0ac8c7b Mon Sep 17 00:00:00 2001 From: Cinka Date: Mon, 10 Mar 2025 22:10:57 +0300 Subject: [PATCH] - tweak: no more shit --- .github/workflows/build.yml | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 224e5e9..3d5ea8b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,24 +25,34 @@ jobs: - name: Build Launcher run: dotnet build Nebula.Launcher --configuration Release - name: Publish Launcher - run: dotnet publish Nebula.Launcher --configuration Release -r win-x64 --output ./Release + run: dotnet publish Nebula.Launcher --configuration Release -r win-x64 --output ./NebulaLauncher/bin + - name: Run script creating + uses: DamianReeves/write-file-action@master + with: + path: ./NebulaLauncher/NebulaStart.bat + contents: | + @echo off + cd ./bin + echo "You can close that windows. I already start a spessman porn!" + start Nebula.Launcher.exe + write-mode: append + - name: Run with log script creating + uses: DamianReeves/write-file-action@master + with: + path: ./NebulaLauncher/NebulaStartLog.bat + contents: | + @echo off + dotnet ./bin/Nebula.Launcher.dll + write-mode: append - name: ZIP Release uses: montudor/action-zip@v1 with: - args: zip -qq -r ./Release.zip ./Release - - name: FTP Deploy Data - uses: SamKirkland/FTP-Deploy-Action@v4.3.5 - with: - server: ${{ secrets.FTP_SERVER }} - username: ${{ secrets.FTP_USERNAME }} - password: ${{ secrets.FTP_PASSWORD }} - local-dir: ./Release/ - server-dir: ./${{ github.sha }}/ + args: zip -qq -r ./Release/NebulaLauncher.zip ./NebulaLauncher - name: FTP Deploy Release uses: SamKirkland/FTP-Deploy-Action@v4.3.5 with: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.FTP_PASSWORD }} - local-dir: ./Release.zip - server-dir: ./Release.zip + local-dir: ./Release/ + server-dir: ./release/