generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (41 loc) · 1.41 KB
/
gh-mvn.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
41
42
43
44
45
46
47
48
name: Publish Maven Package
on:
push:
branches:
- main
- kendall/github-mvn-repo
jobs:
build:
runs-on: macos-latest
steps:
- name: Temporary commented out
run: echo "hello world"
# - name: Checkout repository
# uses: actions/checkout@v3
# with:
# submodules: true # Checkout submodules
# fetch-depth: 0 # Fetch all history for all branches and tags
# - name: Set up Java
# uses: actions/setup-java@v3
# with:
# # distribution: 'temurin'
# # java-version: '17' # Adjust the Java version as needed
# distribution: 'adopt'
# java-version: '11'
# - name: Set up Maven settings
# run: |
# mkdir -p ~/.m2
# echo "<settings xmlns=\"http://maven.apache.org/SETTINGS/1.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd\">
# <servers>
# <server>
# <id>github</id>
# <username>${{ github.actor }}</username>
# <password>${{ secrets.GITHUB_TOKEN }}</password>
# </server>
# </servers>
# </settings>" > ~/.m2/settings.xml
# - name: Build and deploy
# run: |
# cd bound/kt
# mvn '-Dtest=SystemArchitectureTest#can load shared library' test
# mvn deploy