Fix CI env not applying

This commit is contained in:
X9VoiD 2020-07-26 15:06:16 +08:00 committed by GitHub
parent 4df3b42c73
commit f3d8ca2dc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,10 @@ jobs:
uses: actions/setup-dotnet@v1 uses: actions/setup-dotnet@v1
with: with:
dotnet-version: 3.1.x dotnet-version: 3.1.x
- name: Build - name: Build
env:
plugin: ${{ matrix.plugin }}
run: dotnet publish $plugin --configuration Release --framework netcoreapp3.1 -o ./build/netcoreapp3.1/$plugin run: dotnet publish $plugin --configuration Release --framework netcoreapp3.1 -o ./build/netcoreapp3.1/$plugin
- name: Upload ${{ matrix.plugin }} - name: Upload ${{ matrix.plugin }}
@ -35,6 +38,3 @@ jobs:
./build/netcoreapp3.1/${{ matrix.plugin }}/*.dll ./build/netcoreapp3.1/${{ matrix.plugin }}/*.dll
!./build/netcoreapp3.1/${{ matrix.plugin }}/*.json !./build/netcoreapp3.1/${{ matrix.plugin }}/*.json
!./build/netcoreapp3.1/${{ matrix.plugin }}/TabletDriverPlugin.dll !./build/netcoreapp3.1/${{ matrix.plugin }}/TabletDriverPlugin.dll
env:
plugin: ${{ matrix.plugin }}