From cd3e299aed48a710edad73639a9223c8c0f67dcc Mon Sep 17 00:00:00 2001 From: Aconite <63141077+AconiteGodOfSWG@users.noreply.github.com> Date: Mon, 28 Dec 2020 15:07:14 -0500 Subject: [PATCH] Add ant-compile-tab.yml --- .github/workflows/ant-compile-tab.yml | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ant-compile-tab.yml diff --git a/.github/workflows/ant-compile-tab.yml b/.github/workflows/ant-compile-tab.yml new file mode 100644 index 000000000..2ce5906f2 --- /dev/null +++ b/.github/workflows/ant-compile-tab.yml @@ -0,0 +1,31 @@ +name: Build Data Tables + +on: + push: + branches: [ master ] + paths: + - '**.tab' + - '!sku.0/sys.shared/built/game/misc/**' + pull_request: + branches: [ master ] + paths: + - '**.tab' + - '!sku.0/sys.shared/built/game/misc/**' + workflow_dispatch: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Latest + uses: actions/checkout@v2 + + - name: Setup System Requisites + run: sudo chmod 777 ${GITHUB_WORKSPACE}/include/DataTableTool + + # NOTE: DataTableTool was built and placed in dsrc/include which is called by ant when compile_tab is ran + # The DataTableTool in dsrc is a special version modified specifically to work with the GitHub Runner so DO NOT replace it with a regular build + - name: Build Datatables with Ant + run: ant -noinput -buildfile build.xml compile_tab