Use build artefacts
This commit is contained in:
parent
c4cdaf0e79
commit
ed615c1053
2 changed files with 19 additions and 7 deletions
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
|
@ -16,7 +16,8 @@ jobs:
|
|||
runs-on: windows-latest
|
||||
|
||||
env:
|
||||
Solution_Name: AmagnoVirtualPrinter.sln
|
||||
solution: AmagnoVirtualPrinter.sln
|
||||
configuration: Release
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
@ -28,11 +29,13 @@ jobs:
|
|||
uses: microsoft/setup-msbuild@v1
|
||||
|
||||
- name: Restore the application
|
||||
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
|
||||
env:
|
||||
Configuration: ${{ matrix.configuration }}
|
||||
run: msbuild $env:solution /t:Restore /p:Configuration=$env:configuration
|
||||
|
||||
- name: Build solution
|
||||
run: msbuild $env:Solution_Name /t:Rebuild /p:Configuration=$env:Configuration
|
||||
env:
|
||||
Configuration: ${{ matrix.configuration }}
|
||||
run: msbuild $env:solution /t:Rebuild /p:Configuration=$env:configuration
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: artifacts
|
||||
path: files/**/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue