Skip to content

Commit

Permalink
Add Github Actions for building with gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
asmundh committed Nov 17, 2023
1 parent 2c04420 commit fc8ba22
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: build-and-deploy

on: push

jobs:
gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Execute Gradle build
run: ./gradlew build
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}

0 comments on commit fc8ba22

Please sign in to comment.