From 7c0beaa7e0a58435f535f594b7ca95c502a7bddb Mon Sep 17 00:00:00 2001 From: Silverteal <67404722+Silverteal@users.noreply.github.com> Date: Fri, 31 May 2024 14:48:08 +0800 Subject: [PATCH] Update and rename dotnet-desktop.yml to build.yml --- .../workflows/{dotnet-desktop.yml => build.yml} | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) rename .github/workflows/{dotnet-desktop.yml => build.yml} (83%) diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/build.yml similarity index 83% rename from .github/workflows/dotnet-desktop.yml rename to .github/workflows/build.yml index 91acc60..187724d 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: .NET Core Desktop +name: Build PCL2 on: push: @@ -6,11 +6,7 @@ on: - 'Plain Craft Launcher 2.sln' - 'Plain Craft Launcher 2/**' - '.github/workflows/**' - pull_request: - paths: - - 'Plain Craft Launcher 2.sln' - - 'Plain Craft Launcher 2/**' - - '.github/workflows/**' + workflow_dispatch: jobs: @@ -26,6 +22,7 @@ jobs: Solution_Name: Plain Craft Launcher 2.sln Wap_Project_Directory: Plain Craft Launcher 2 Wap_Project_Path: Plain Craft Launcher 2\Plain Craft Launcher 2.vbproj + Configuration: ${{ matrix.configuration }} steps: - name: Checkout @@ -40,8 +37,7 @@ jobs: # Restore the application to populate the obj folder with RuntimeIdentifiers - name: Restore the application run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration - env: - Configuration: ${{ matrix.configuration }} + # Create the app package by building and packaging the Windows Application Packaging project - name: Create the app package @@ -50,11 +46,10 @@ jobs: Appx_Bundle: Always Appx_Bundle_Platforms: x86|x64|ARM|ARM64 Appx_Package_Build_Mode: StoreUpload - Configuration: ${{ matrix.configuration }} # Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact - name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: ${{ matrix.configuration }} - path: ${{ env.Wap_Project_Directory }}\obj\${{ matrix.configuration }}\Plain Craft Launcher 2.exe \ No newline at end of file + path: ${{ env.Wap_Project_Directory }}\obj\${{ matrix.configuration }}\Plain Craft Launcher 2.exe