Skip to content

Commit

Permalink
Add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed Jan 25, 2024
1 parent 7c4872f commit bf3cc04
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Build
on: push
jobs:
build:
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:20-jdk
options: --user root
steps:
- uses: actions/checkout@v3
- run: ./gradlew build --stacktrace --no-configuration-cache
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Release
on: [workflow_dispatch] # Manual trigger
jobs:
build:
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:20-jdk
options: --user root
steps:
- uses: actions/checkout@v3
- run: ./gradlew build publish --stacktrace --no-configuration-cache
env:
MAVEN_PUBLISH_CREDENTIALS: ${{ secrets.MAVEN_PUBLISH_CREDENTIALS }}

0 comments on commit bf3cc04

Please sign in to comment.