2022-10-03 14:47:11 +00:00
|
|
|
name: Java CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- $default-branch
|
|
|
|
- $protected-branches
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- $default-branch
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
call-workflow:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-10-24 19:24:07 +00:00
|
|
|
josm-revision: ["", "r18877"]
|
2024-01-17 13:41:52 +00:00
|
|
|
uses: JOSM/JOSMPluginAction/.github/workflows/ant.yml@v2
|
2022-10-03 14:47:11 +00:00
|
|
|
with:
|
2023-07-17 15:28:38 +00:00
|
|
|
java-version: 17
|
2022-10-03 14:47:11 +00:00
|
|
|
josm-revision: ${{ matrix.josm-revision }}
|
2023-02-22 14:22:46 +00:00
|
|
|
plugin-jar-name: 'mapwithai'
|
2023-10-24 19:24:07 +00:00
|
|
|
perform-revision-tagging: ${{ matrix.josm-revision == 'r18877' && github.repository == 'JOSM/MapWithAI' && github.ref_type == 'branch' && github.ref_name == 'master' && github.event_name != 'schedule' && github.event_name != 'pull_request' }}
|
2023-02-21 22:06:53 +00:00
|
|
|
secrets: inherit
|
2023-02-22 16:12:05 +00:00
|
|
|
|