Skip to content

[TASK] Added release workflow #1

[TASK] Added release workflow

[TASK] Added release workflow #1

Workflow file for this run

on:
push:
branches: [main]
# release:
# types: [published, created]
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: mysecretpassword
POSTGRES_DB: immowealth
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Build with Gradle
run: ./gradlew build -Dquarkus.package.type=uber-jar
- name: Start application
run: nohub ./gradlew --console=plain quarkusDev &