Skip to content

Commit

Permalink
Update to JOSMPluginAction v3
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Jan 28, 2025
1 parent 568810e commit 1a840ee
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ on:
- $default-branch
workflow_dispatch:

permissions:
id-token: write
attestations: write
contents: write
packages: write

jobs:
check-release-needed:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,9 +47,9 @@ jobs:
needs: check-release-needed
strategy:
matrix:
josm-revision: ["", "r18877"]
uses: JOSM/JOSMPluginAction/.github/workflows/ant.yml@v2
josm-revision: ["", "r19044"]
uses: JOSM/JOSMPluginAction/.github/workflows/ant.yml@v3
with:
josm-revision: ${{ matrix.josm-revision }}
perform-revision-tagging: ${{ matrix.josm-revision == 'r18877' && needs.check-release-needed.outputs.release_needed == 'true' }}
perform-revision-tagging: ${{ matrix.josm-revision == 'r19044' && needs.check-release-needed.outputs.release_needed == 'true' }}
secrets: inherit

0 comments on commit 1a840ee

Please sign in to comment.