Fix internal map paths in coop mission .scmap files on deploy #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |