Skip to content

Commit

Permalink
Revert "尝试打包逻辑"
Browse files Browse the repository at this point in the history
This reverts commit 874b43a.
  • Loading branch information
lindexi committed Dec 6, 2023
1 parent 874b43a commit 5f6b8ca
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on: [push]
jobs:
BuildDebug:

# runs-on: [self-hosted, VSPreview]
runs-on: windows-latest
runs-on: [self-hosted, VSPreview]

steps:
- uses: actions/checkout@v1
Expand All @@ -16,26 +15,26 @@ jobs:
# nuget-version: '5.x'
- name: Build
run: .\build.cmd -pack -ci -configuration Debug -prepareMachine /p:Platform=x86
# - name: Build CustomWPF
# run: dotnet build CustomWpf
- name: Build CustomWPF
run: dotnet build CustomWpf
- name: Push
uses: actions/upload-artifact@v1
with:
name: WPF_Debug
path: ./artifacts/packages/Debug/NonShipping

# BuildRelease:
BuildRelease:

# runs-on: [self-hosted, VSPreview]
runs-on: [self-hosted, VSPreview]

# steps:
# - uses: actions/checkout@v1
# - name: Build
# run: .\build.cmd -pack -ci -configuration Release -prepareMachine /p:Platform=x86
# - name: Build CustomWPF
# run: dotnet build CustomWpf -c Release
# - name: Push
# uses: actions/upload-artifact@v1
# with:
# name: WPF_Release
# path: ./artifacts/packages/Release/NonShipping
steps:
- uses: actions/checkout@v1
- name: Build
run: .\build.cmd -pack -ci -configuration Release -prepareMachine /p:Platform=x86
- name: Build CustomWPF
run: dotnet build CustomWpf -c Release
- name: Push
uses: actions/upload-artifact@v1
with:
name: WPF_Release
path: ./artifacts/packages/Release/NonShipping

0 comments on commit 5f6b8ca

Please sign in to comment.