2020-07-21 10:26:33 +08:00
|
|
|
name: .NET Core
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
workflow_dispatch:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
2020-07-26 14:54:30 +08:00
|
|
|
|
2020-07-21 10:26:33 +08:00
|
|
|
build:
|
2020-07-26 14:54:30 +08:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
plugin: [AdvancedAntiSmoothingFilter, ExperimentalASFilter, OemKill]
|
2020-07-21 10:26:33 +08:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-07-26 14:54:30 +08:00
|
|
|
|
|
|
|
- name: Setup ${{ matrix.net }}
|
2020-07-21 10:26:33 +08:00
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
with:
|
2020-07-21 23:44:03 +08:00
|
|
|
dotnet-version: 3.1.x
|
2020-07-26 14:54:30 +08:00
|
|
|
- name: Build
|
|
|
|
run: dotnet publish $plugin --configuration Release --framework netcoreapp3.1 -o ./build/netcoreapp3.1/$plugin
|
|
|
|
|
|
|
|
- name: Upload ${{ matrix.plugin }}
|
2020-07-26 14:07:13 +08:00
|
|
|
uses: actions/upload-artifact@main
|
|
|
|
with:
|
2020-07-26 14:54:30 +08:00
|
|
|
name: ${{ matrix.plugin }}
|
2020-07-26 14:07:13 +08:00
|
|
|
path: |
|
2020-07-26 14:57:56 +08:00
|
|
|
./build/netcoreapp3.1/${{ matrix.plugin }}/*.dll
|
|
|
|
!./build/netcoreapp3.1/${{ matrix.plugin }}/*.json
|
|
|
|
!./build/netcoreapp3.1/${{ matrix.plugin }}/TabletDriverPlugin.dll
|
2020-07-26 14:54:30 +08:00
|
|
|
|
|
|
|
env:
|
|
|
|
plugin: ${{ matrix.plugin }}
|