Update push_master.yml

This commit is contained in:
2024-03-11 17:56:03 +01:00
committed by GitHub
Unverified
parent 43f92e524d
commit 7cf221b9bd

View File

@@ -14,10 +14,6 @@ jobs:
build: build:
name: Build name: Build
runs-on: windows-latest runs-on: windows-latest
strategy:
matrix:
configuration: [Release]
platform: [x64, ARM64]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -59,19 +55,10 @@ jobs:
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: 8.0.x 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 - name: Create the app
run: msbuild $env:Solution_Name /t:Publish /p:Configuration=$env:Configuration /p:Platform=$env:Platform run: dotnet build /p:Configuration=Release /p:Platform=x64 -o bin
env:
Configuration: ${{ matrix.configuration }}
Platform: ${{ matrix.platform }}
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: ${{matrix.platform}} name: build
path: VDownload\\bin path: VDownload\\bin