Merge pull request #1376 from smallrye/ci/jreleaser-refinements #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push a release to Maven Central | |
on: | |
push: | |
tags: | |
- '2.*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
env: | |
SECRET_FILES_PASSPHRASE: ${{ secrets.SECRET_FILES_PASSPHRASE }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: Java setup | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: maven | |
- name: Install just | |
uses: taiki-e/install-action@just | |
- name: Deploy to Maven Central | |
run: just -f .build/justfile-for-release -d . deploy-to-maven-central |