MyINPulse/.gitea/workflows/build-back.yaml
Workflow config file is invalid. Please check your config file: yaml: line 6: did not find expected key
Pierre Tellier fea8687664
All checks were successful
Format / formatting (push) Successful in 6s
CI / build (push) Successful in 10s
feat: now running tests
2025-03-17 09:05:24 +01:00

34 lines
744 B
YAML

name: Build
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Load .env file
uses: xom9ikk/dotenv@v2.3.0
with:
path: ./config/
mode: dev
load-mode: strict
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-disabled: true # Once the code has been pushed once in main, this should be reenabled.
- name: init gradle
working-directory: ./MyINPulse-back/
run: ./gradlew build # todo: run test, currently fail because no database is present