Skip to content

Commit

Permalink
修改yml,支持ci-cd
Browse files Browse the repository at this point in the history
  • Loading branch information
wutangyuan committed Dec 14, 2024
1 parent e90a80d commit 862e369
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 71 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/backportPRs.yml

This file was deleted.

36 changes: 29 additions & 7 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,40 @@
name: .NET Core
name: Build WPF

on: [push]

jobs:
build:
BuildDebug:

runs-on: windows-latest

steps:
- uses: actions/checkout@v1
- name: Install Nuget
uses: nuget/setup-nuget@v1
# - name: Install Nuget
# uses: nuget/setup-nuget@v1
# with:
# nuget-version: '5.x'
- name: Build
run: .\build.cmd -pack -ci -configuration Debug -prepareMachine /p:Platform=x86
- name: Push
uses: actions/upload-artifact@v1
with:
nuget-version: '5.x'

name: WPF_Debug
path: ./artifacts/packages/Debug/NonShipping

BuildRelease:

runs-on: windows-latest

steps:
- uses: actions/checkout@v1
# - name: Install Nuget
# uses: nuget/setup-nuget@v1
# with:
# nuget-version: '5.x'
- name: Build
run: .\build.cmd -pack -ci -configuration Release -prepareMachine /p:Platform=x86
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
36 changes: 0 additions & 36 deletions .github/workflows/locker.yml

This file was deleted.

0 comments on commit 862e369

Please sign in to comment.