Skip to content

Commit 6d2274c

Browse files
committed
Initial commit
1 parent e3d5f02 commit 6d2274c

51 files changed

Lines changed: 5839 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: techsenger
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve the project
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+

.github/ISSUE_TEMPLATE/question.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Question
3+
about: Ask a question about this project
4+
title: ''
5+
labels: question
6+
assignees: ''
7+
8+
---
9+
10+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Snapshot Deploy
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
packages: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Setup Java 11
16+
uses: actions/setup-java@v3
17+
with:
18+
java-version: '11'
19+
distribution: 'temurin'
20+
cache: 'maven'
21+
- name: Generate settings.xml
22+
run: |
23+
cat > ~/.m2/settings.xml << EOF
24+
<settings>
25+
<servers>
26+
<server>
27+
<id>repsy-snapshots</id>
28+
<username>${{ secrets.REPSY_USERNAME }}</username>
29+
<password>${{ secrets.REPSY_PASSWORD }}</password>
30+
</server>
31+
</servers>
32+
</settings>
33+
EOF
34+
- name: Deploy only snapshot versions
35+
run: |
36+
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
37+
echo "Detected version: $VERSION"
38+
if [[ $VERSION == *"SNAPSHOT"* ]]; then
39+
echo "Deploying snapshot version: $VERSION"
40+
mvn deploy -U -B
41+
else
42+
echo "Skipping deploy for release version: $VERSION"
43+
fi
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
target/
2+
states/

LICENSE

Lines changed: 340 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)