keycloak-regex-mapper/.forgejo/workflows/build.yml
Ryan Voots 4ff65f6515
Some checks failed
build / build (push) Failing after 14s
what going on?
2025-05-04 11:27:13 -04:00

25 lines
598 B
YAML

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: docker
steps:
- name: checkout repository
uses: https://gitea.com/actions/checkout@v2
- name: set up java
uses: https://gitea.com/actions/setup-java@v2
with:
java-version: '21'
distribution: 'temurin'
- name: find maven
run: ls -la /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.7-6.0.LTS/x64/bin
- name: check path
run: echo $PATH
- name: build with maven
run: mvn --batch-mode --file pom.xml package