Add static version file (#16) #13
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: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
name: 'Publish Release' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check out code' | |
uses: actions/checkout@v4 | |
- name: Set up Java for publishing to GitHub Maven Packages | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
overwrite-settings: true | |
server-id: runtime.verification | |
server-username: MAVEN_USERNAME | |
server-password: MAVEN_PASSWORD | |
- name: 'Push Maven Packages' | |
env: | |
MAVEN_USERNAME: [email protected] | |
MAVEN_PASSWORD: ${{ secrets.CLOUDREPO_PASSWORD }} | |
run: mvn deploy --batch-mode -U |