[Build] Enable sonatype publish (#254)

* [Build] Enable sonatype publish

Other prep for 0.1.0 release:
- special case 0.1.0 to avoid creating release branch
- minor format and name improvements in ci.yml

* [Build] Improve format of prepare-release.yml

* [Build] Exclude .github from PR workflow
This commit is contained in:
Chris Bono
2022-12-13 14:52:34 -06:00
committed by GitHub
parent caf8cf71ff
commit ca741d8871
3 changed files with 41 additions and 22 deletions

View File

@@ -21,26 +21,30 @@ jobs:
actions: read
steps:
- id: checkout-source
name: Checkout Source Code
name: Checkout source code
uses: actions/checkout@v2
with:
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
- name: Set up gradle
- name: Set up Gradle
uses: spring-io/spring-gradle-build-action@v1
with:
java-version: '17'
distribution: 'temurin'
- id: check-open-issues
name: Check for open issues
run: |
echo "TODO actually check for open issues"
echo "::set-output name=is_open_issues::false"
- id: validate-release-state
name: Validate release state
if: steps.check-open-issues.outputs.is_open_issues == 'true'
run: |
echo "There are open issues"
exit 1
- id: update-version-and-push
name: Update version and push
if: steps.check-open-issues.outputs.is_open_issues == 'false'