Skip to content

Fix internal map paths in coop mission .scmap files on deploy #1

Fix internal map paths in coop mission .scmap files on deploy

Fix internal map paths in coop mission .scmap files on deploy #1

name: Coop deployment scripts
on:
push:
paths:
- 'apps/faf-legacy-deployment/scripts/**'
- '.github/workflows/coop-deployment-scripts.yml'
pull_request:
paths:
- 'apps/faf-legacy-deployment/scripts/**'
- '.github/workflows/coop-deployment-scripts.yml'
jobs:
verify:
runs-on: ubuntu-latest
container:
# same image the deployment CronJobs use
image: gradle:9.4-jdk21
steps:
- uses: actions/checkout@v6
- name: Check out the coop missions
uses: actions/checkout@v6
with:
repository: FAForever/faf-coop-maps
path: faf-coop-maps
- name: Compile
working-directory: apps/faf-legacy-deployment/scripts
run: gradle --no-daemon compileKotlin
- name: Round trip the path fixer over every mission map
working-directory: apps/faf-legacy-deployment/scripts
env:
MAPS_REPO: ${{ github.workspace }}/faf-coop-maps
run: gradle --no-daemon verifyScmapFixer