Skip to content

Commit

Permalink
Update maven-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bertysentry authored Oct 12, 2023
1 parent 7799433 commit 6a1c0e9
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# and prepare a new development version

name: Release to Maven Central
run-name: Release ${{ inputs.releaseVersion }} to Maven Central
run-name: Release v${{ inputs.releaseVersion }} to Maven Central

on:
#push:
Expand All @@ -23,16 +23,29 @@ on:
type: boolean
default: false

permissions:
contents: write
pull-requests: write
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these releases and deployments to complete.
concurrency:
group: release
cancel-in-progress: false

# Default to bash
defaults:
run:
shell: bash

jobs:
release:
name: Release ${{ github.event.inputs.releaseVersion }}
name: Release v${{ github.event.inputs.releaseVersion }}

runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write

steps:

- uses: actions/checkout@v4
Expand Down

0 comments on commit 6a1c0e9

Please sign in to comment.