Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
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
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,12 @@ runecl.exe
scripts/eCompile_commands.txt
scripts/ecompile.cfg.example
scripts/modules/*

# Output folders

bin
obj

# IDE Folders

.vs
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "GumpStudio"]
path = GumpStudio
url = https://github.com/KevinEady/GumpStudio.git
1 change: 1 addition & 0 deletions GumpStudio
Submodule GumpStudio added at 5d2f7f
Loading