Skip to content

Commit

Permalink
Add v2 workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Oct 20, 2023
1 parent 510a786 commit 2c2e8b0
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ant-release.yml
Original file line number Diff line number Diff line change
@@ -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

25 changes: 25 additions & 0 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions .github/workflows/reports.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2c2e8b0

Please sign in to comment.