Skip to content

Commit 6d67eeb

Browse files
committed
Try different syntax, start docker compose
1 parent ebfced4 commit 6d67eeb

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
java-version: '21'
3636
cache: 'gradle'
3737

38+
- name: Set up docker compose environment
39+
run: docker compose up -d
40+
3841
- name: Build
3942
run: ./gradlew build
4043

.github/workflows/on-release-tag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ jobs:
4444
env:
4545
DOCKER_PUSH: true
4646
run: ./gradlew \
47-
-Pversion=${GITHUB_REF_NAME#v:-"${{ github.event.inputs.version }}"} \
47+
-Pversion=${"${{ github.event.inputs.version }}":-${GITHUB_REF_NAME#v}} \
4848
bootBuildImage

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ plugins {
55
}
66

77
group = 'net.hackyourfuture'
8-
version = '0.0.1-SNAPSHOT'
8+
if (version == 'unspecified') {
9+
version = '0.0.1-SNAPSHOT'
10+
}
911
description = 'A modern Java reference app for courses, enrollments, and school workflows.'
1012

1113
java {

0 commit comments

Comments
 (0)