Update push_master.yml
This commit is contained in:
17
.github/workflows/push_master.yml
vendored
17
.github/workflows/push_master.yml
vendored
@@ -14,10 +14,6 @@ jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
configuration: [Release]
|
||||
platform: [x64, ARM64]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
@@ -59,19 +55,10 @@ jobs:
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
- name: Setup MSBuild.exe
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
- name: Restore the application
|
||||
run: msbuild VDownload /t:Restore /p:Configuration=$env:Configuration
|
||||
env:
|
||||
Configuration: ${{ matrix.configuration }}
|
||||
- name: Create the app
|
||||
run: msbuild $env:Solution_Name /t:Publish /p:Configuration=$env:Configuration /p:Platform=$env:Platform
|
||||
env:
|
||||
Configuration: ${{ matrix.configuration }}
|
||||
Platform: ${{ matrix.platform }}
|
||||
run: dotnet build /p:Configuration=Release /p:Platform=x64 -o bin
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{matrix.platform}}
|
||||
name: build
|
||||
path: VDownload\\bin
|
||||
|
||||
Reference in New Issue
Block a user