Skip to content

Commit

Permalink
Fix CD workflow to generate data before building JAR (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestjw authored Apr 12, 2022
1 parent 1f30f99 commit 71a40b5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,13 @@ jobs:
- ~/.gradle
key: v1-dependencies-{{ checksum "build.gradle" }}

# Build JAR file
- run: gradle build
- run:
name: "Generate resources"
command: gradle runData || true

- run:
name: "Build JAR"
command: gradle build

- run:
name: "Move JAR to ./artifacts"
Expand Down

0 comments on commit 71a40b5

Please sign in to comment.