Skip to content

Updates to POLExportPlugin #12

Updates to POLExportPlugin

Updates to POLExportPlugin #12

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches: "*"
pull_request:
branches: "*"
jobs:
# JOB to run change detection
changes:
runs-on: ubuntu-latest
# Set job outputs to values from filter step
outputs:
POLExportPlugin: ${{ steps.filter.outputs.POLExportPlugin }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: actions/checkout@v2
if: ${{ github.event != 'pull_request' }}
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
POLExportPlugin:
- 'POLExportPlugin/**'
POLExportPlugin:
needs: changes
if: ${{ needs.changes.outputs.POLExportPlugin == 'true' }}
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Restore & Build
run: cd POLExportPlugin && msbuild POLGumpExport.sln /t:restore && msbuild POLGumpExport.sln /p:Configuration=Release
- uses: actions/upload-artifact@v2
with:
name: POLGumpExporter
path: POLExportPlugin/bin/Release