build: use Docker for gsc-tool
All checks were successful
test / Test on Linux (push) Successful in 7s

This commit is contained in:
6arelyFuture 2024-03-27 13:51:18 +00:00
parent 060234e717
commit 8c96780648

View File

@ -9,13 +9,15 @@ jobs:
steps:
- name: Check out files
uses: actions/checkout@main
- name: Setup gsc-tool
uses: diamante0018/setup-gsc-tool@main
with:
version: "1.4.0"
uses: actions/checkout@v4
- name: Compile scripts
run: |
gsc-tool -m comp -g iw6 -s pc .
uses: addnab/docker-run-action@v3
with:
image: xensik/gsc-tool:latest
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
run: |
cd ${{ github.workspace }}
gsc-tool --dry -m comp -g iw6 -s pc "common_scripts"
gsc-tool --dry -m comp -g iw6 -s pc "maps"
gsc-tool --dry -m comp -g iw6 -s pc "scripts"