Skip to content

Commit

Permalink
尝试基于旧版本修复构建
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Oct 21, 2023
1 parent 2b6f027 commit 5b6d995
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build WPF

on: [push]

jobs:
BuildDebug:

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
# - name: Setup .NET
# uses: actions/setup-dotnet@v3
# with:
# global-json-file: global.json
# cache: true
- name: Setup MSBuild.exe
uses: warrenbuckley/Setup-MSBuild@v1
- name: Build WPF
run: .\build.cmd -pack -ci -configuration Debug -prepareMachine /p:Platform=x86
- name: Push
uses: actions/upload-artifact@v1
with:
name: WPF_Debug
path: ./artifacts/packages/Debug/NonShipping

# BuildRelease:

# runs-on: windows-latest

# steps:
# - uses: actions/checkout@v3
# - name: Setup .NET
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: |
# 8.0.x
# dotnet-quality: 'preview'
# - name: Build WPF
# run: .\build.cmd -pack -ci -configuration Release -prepareMachine /p:Platform=x86
# - name: Push
# uses: actions/upload-artifact@v1
# with:
# name: WPF_Release
# path: ./artifacts/packages/Release/NonShipping

0 comments on commit 5b6d995

Please sign in to comment.