VoiDPlugins/.github/workflows/dotnet-core.yml

41 lines
1,005 B
YAML
Raw Normal View History

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-21 10:26:33 +08:00
build:
strategy:
matrix:
plugin: [AdvancedAntiSmoothingFilter, ExperimentalASFilter, OemKill]
2020-07-21 10:26:33 +08:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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
- 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:
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
env:
plugin: ${{ matrix.plugin }}