mirror of
https://github.com/netchx/netch.git
synced 2026-04-27 21:49:36 +08:00
Update BUILD.ps1
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -8,6 +8,8 @@ jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
OutputPath: Netch\bin\Publish\Debug
|
||||
steps:
|
||||
- name: Setup MSBuild
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
@@ -19,7 +21,7 @@ jobs:
|
||||
|
||||
- name: Build Solution
|
||||
shell: pwsh
|
||||
run: .\BUILD.ps1
|
||||
run: .\BUILD.ps1 Debug -o ${{ env.OutputPath }}
|
||||
|
||||
- name: Upload Artifact
|
||||
continue-on-error: true
|
||||
@@ -27,4 +29,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Netch
|
||||
path: Netch\bin\x64\Release
|
||||
path: ${{ env.OutputPath }}
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
|
||||
- name: Build Solution
|
||||
shell: pwsh
|
||||
run: .\PUBLISH.ps1
|
||||
run: .\BUILD.ps1
|
||||
|
||||
- name: Package
|
||||
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
|
||||
|
||||
Reference in New Issue
Block a user