Skip to content

Merge pull request #281 from Eddio0141/280-agressive-unitas-hooks-for… #700

Merge pull request #281 from Eddio0141/280-agressive-unitas-hooks-for…

Merge pull request #281 from Eddio0141/280-agressive-unitas-hooks-for… #700

Workflow file for this run

name: build-on-push
on: [ push ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, ubuntu-latest ]
configuration: [ Debug, Release ]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: '6.0.x'
- name: Setup ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v2
- name: Tests
run: dotnet test UniTAS --configuration ${{ matrix.configuration }}
- name: Build
run: dotnet build UniTAS --configuration ${{ matrix.configuration }}
- name: Get built artifacts
uses: actions/upload-artifact@v3.1.1
with:
name: ${{ matrix.os }}-${{ matrix.configuration }}
path: ./UniTAS/Patcher/bin/${{ matrix.configuration }}