diff --git a/.github/workflows/ant-release.yml b/.github/workflows/ant-release.yml new file mode 100644 index 0000000..57d0066 --- /dev/null +++ b/.github/workflows/ant-release.yml @@ -0,0 +1,12 @@ +name: Release + +on: + release: + types: [created] + +jobs: + call-workflow: + uses: JOSM/JOSMPluginAction/.github/workflows/ant.yml@v2 + with: + josm-revision: "r18221" + diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml new file mode 100644 index 0000000..742885d --- /dev/null +++ b/.github/workflows/ant.yml @@ -0,0 +1,23 @@ +name: Java CI + +on: + push: + branches: + - master + - $default-branch + - $protected-branches + pull_request: + branches: + - master + - $default-branch + workflow_dispatch: + +jobs: + call-workflow: + strategy: + matrix: + josm-revision: ["", "r18221"] + uses: JOSM/JOSMPluginAction/.github/workflows/ant.yml@v2 + with: + josm-revision: ${{ matrix.josm-revision }} + diff --git a/.github/workflows/reports.yaml b/.github/workflows/reports.yaml new file mode 100644 index 0000000..817c66f --- /dev/null +++ b/.github/workflows/reports.yaml @@ -0,0 +1,14 @@ +name: Publish reports + +on: + workflow_run: + workflows: [Java CI] + types: [completed] + +permissions: + checks: write + +jobs: + call-workflow: + uses: JOSM/JOSMPluginAction/.github/workflows/reports.yaml@v2 +