-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.18 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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