From 9a05dc1e6be835f5ee83387e62d2211a934c4fe2 Mon Sep 17 00:00:00 2001 From: Silverteal <67404722+Silverteal@users.noreply.github.com> Date: Sat, 1 Jun 2024 10:04:19 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 98cc304..d6f4935 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,11 @@ 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: @@ -21,7 +26,7 @@ jobs: configuration: Snapshot - name: 快照版 configuration: Release - - name: 更新的快照版 + - name: 快照版(通过在线更新) configuration: ReleaseUpdate - name: 正式版 configuration: BETA @@ -49,9 +54,8 @@ jobs: # - name: Restore the application # run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration - # Create the app package by building and packaging the Windows Application Packaging project - - name: 编译 PCL + - name: 编译源代码 run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /t:Rebuild # /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle # env: