Skip to content

Commit

Permalink
Add devbuild artifact upload to github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Morilli committed Jun 1, 2024
1 parent c1d5d17 commit 7cca0ea
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,34 @@ jobs:
- name: Test
run: dotnet test BizHawk.sln -c Release -p:ContinuousIntegrationBuild=true
shell: pwsh

package:
name: Build and package output
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8"

- name: Build solution
run: Dist/BuildRelease.sh

- name: Package (Linux)
run: Dist/Package.sh
- name: Upload Linux dev build
uses: actions/upload-artifact@v4
with:
name: BizHawk-dev-${{ github.sha }}-linux
path: packaged_output

- name: Package (Windows)
run: Dist/Package.sh windows-x64
- name: Upload Windows dev build
uses: actions/upload-artifact@v4
with:
name: BizHawk-dev-${{ github.sha }}-windows
path: packaged_output

0 comments on commit 7cca0ea

Please sign in to comment.