Release #22
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: Release | |
on: | |
workflow_dispatch: | |
jobs: | |
gradle: | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write | |
contents: write | |
packages: write | |
pages: write | |
pull-requests: write | |
steps: | |
- name: Checkout sources | |
uses: actions/[email protected] | |
- name: Setup Base Environment | |
uses: ./actions/setup-base-env | |
- name: Setup FDB | |
uses: ./actions/setup-fdb | |
# Push a version bump back to main. There are failure scenarios that can result | |
# in published artifacts but an erroneous build, so it's safer to bump the version | |
# at the beginning | |
- name: Configure git | |
run: | | |
git config --global user.name 'FoundationDB CI' | |
git config --global user.email '[email protected]' | |
- name: Increment version | |
run: python build/versionutils.py gradle.properties --increment --commit | |
- name: Push version increment | |
run: git push | |
- name: Build and publish | |
uses: ./actions/release-build-publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MAVEN_USER: ${{ secrets.MAVEN_USER }} | |
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} | |
# TODO: Publish documentation updates |