Skip to content

Commit

Permalink
Update build-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sdsnatcher73 authored Jan 16, 2024
1 parent 695af79 commit 5e66cc0
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,8 @@ jobs:

build:

strategy:
matrix:
configuration: [ Debug, Release ]

runs-on: windows-latest

env:
Solution_Name: prepare_msxpico_roms

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -31,25 +24,17 @@ jobs:
with:
dotnet-version: 8.x.x


# Build the application
- name: Build the application
run: dotnet build $env:Solution_Name -c $env:Configuration
env:
Configuration: ${{ matrix.configuration }}
run: dotnet build prepare_msxpico_roms -c Release

# Publish the application
- name: Publish the applications
run: dotnet publish $env:Solution_Name -c $env:Configuration -o publish
env:
Configuration: ${{ matrix.configuration }}
run: dotnet publish prepare_msxpico_roms -c Release -o publish

# Upload the application artifacts
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: prepare_msxpico_roms_$env:Configuration
path: publish
env:
Configuration: ${{ matrix.configuration }}

name: prepare_msxpico_roms
path: publish

0 comments on commit 5e66cc0

Please sign in to comment.