fix coding style #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: [ 'release/*', 'main' ] | |
pull_request_review: | |
types: [ submitted ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_REPO: "seemscloud" | |
steps: | |
- name: "[Repository] Clone" | |
uses: actions/checkout@v2 | |
- name: "[Login] Docker Hub" | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
ssh-key: ${{secrets.SSH_BOT_SEEMS_CLOUD}} | |
- name: "[Setup] JDK 17" | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
architecture: x64 | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{secrets.SSH_BOT_SEEMS_CLOUD}} | |
- name: "[Script] Version Suffix" | |
run: | | |
export VERSION_SUFFIX=$(/bin/bash ${GITHUB_WORKSPACE}/.github/scripts/version-suffix.sh) | |
- name: "[Maven] Build (Release, Versioning Enabled)" | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Bot" | |
mvn clean install --no-transfer-progress |