Skip to content

Commit

Permalink
Update push_master.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszskoczek authored Mar 11, 2024
1 parent 43f92e5 commit 7cf221b
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/push_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 7cf221b

Please sign in to comment.