diff --git a/.github/workflows/ant-release.yml b/.github/workflows/ant-release.yml new file mode 100644 index 0000000..8469ae0 --- /dev/null +++ b/.github/workflows/ant-release.yml @@ -0,0 +1,15 @@ +name: Release + +on: + release: + types: [created] + +jobs: + call-workflow: + uses: JOSM/JOSMPluginAction/.github/workflows/ant.yml@v2 + with: + josm-revision: "r18173" + secrets: inherit + permissions: + contents: write + diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml new file mode 100644 index 0000000..c3c3feb --- /dev/null +++ b/.github/workflows/ant.yml @@ -0,0 +1,25 @@ +name: Java CI + +on: + push: + branches: + - master + - $default-branch + - $protected-branches + pull_request: + branches: + - master + - $default-branch + schedule: + - cron: "43 19 * * 3" + workflow_dispatch: + +jobs: + call-workflow: + strategy: + matrix: + josm-revision: ["", "r18173"] + uses: JOSM/JOSMPluginAction/.github/workflows/ant.yml@v2 + with: + josm-revision: ${{ matrix.josm-revision }} + secrets: inherit diff --git a/.github/workflows/reports.yaml b/.github/workflows/reports.yaml new file mode 100644 index 0000000..43794f4 --- /dev/null +++ b/.github/workflows/reports.yaml @@ -0,0 +1,13 @@ +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