Skip to content

Commit 3162469

Browse files
chore: [DevOps] fail early if spec is unchanged
1 parent 59b919e commit 3162469

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/spec-update.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ jobs:
5959
java-version: ${{ env.JAVA_VERSION }}
6060
cache: 'maven'
6161

62-
- name: "Install Baseline SDK Version"
63-
# this is needed as otherwise "process sources" will fail on e.g. orchestration module, if the core module isn't in the maven cache
64-
run: |
65-
mvn install -DskipTests
66-
6762
- name: "Checkout or Create Branch"
6863
id: branch
6964
# Checkout branch if it exists, otherwise create it
@@ -110,6 +105,11 @@ jobs:
110105
echo "spec_diff=false" >> "$GITHUB_OUTPUT"
111106
fi
112107
108+
- name: "Install Baseline SDK Version"
109+
# this is needed as otherwise "process sources" will fail on e.g. orchestration module, if the core module isn't in the maven cache
110+
run: |
111+
mvn install -DskipTests
112+
113113
- name: "Generate"
114114
id: generate
115115
if: steps.spec_diff.outputs.spec_diff == 'true'

0 commit comments

Comments
 (0)