mirror of
https://github.com/vale981/VoiDPlugins
synced 2025-03-05 09:11:38 -05:00
41 lines
1 KiB
YAML
41 lines
1 KiB
YAML
name: .NET Core
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
workflow_dispatch:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
plugin: [MLFilter, OemKill]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup ${{ matrix.net }}
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 3.1.x
|
|
|
|
- name: Build
|
|
env:
|
|
plugin: ${{ matrix.plugin }}
|
|
run: dotnet publish $plugin --configuration Release --framework netcoreapp3.1 -o ./build/netcoreapp3.1/$plugin
|
|
|
|
- name: Upload ${{ matrix.plugin }}
|
|
uses: actions/upload-artifact@main
|
|
with:
|
|
name: ${{ matrix.plugin }}
|
|
path: |
|
|
./build/netcoreapp3.1/${{ matrix.plugin }}/*.dll
|
|
!./build/netcoreapp3.1/${{ matrix.plugin }}/*.json
|
|
!./build/netcoreapp3.1/${{ matrix.plugin }}/TabletDriverPlugin.dll
|
|
!./build/netcoreapp3.1/${{ matrix.plugin }}/Newtonsoft.Json.dll
|