Skip to content

Commit

Permalink
run prep before deps
Browse files Browse the repository at this point in the history
  • Loading branch information
stepansergeevitch committed Oct 22, 2024
1 parent 4aab724 commit 6f8bd68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
lein: '2.9.10'

- name: "Install dependencies"
run: lein deps
run: lein prep && lein deps

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
Expand Down
14 changes: 7 additions & 7 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@
[:goals ([:goal "jar"])]
[:phase "deploy"]])}]]

:prep-tasks [["shell" "bash" "-c"
"TMP_DIR=\\$(mktemp -d) && \\
wget -nv https://downloads.metabase.com/\\$METABASE_VERSION/metabase.jar -O \\$TMP_DIR/metabase.jar && \\
mkdir -p repo && \\
mvn deploy:deploy-file -Durl=file:repo -DgroupId=com.firebolt -DartifactId=metabase-core -Dversion=1.40 -Dpackaging=jar -Dfile=\\$TMP_DIR/metabase.jar"]
"javac" "compile"]

:profiles
{:provided
{:dependencies [[com.firebolt/metabase-core "1.40"]]
:prep-tasks [["shell" "bash" "-c"
"TMP_DIR=\\$(mktemp -d) && \\
wget -nv https://downloads.metabase.com/\\$METABASE_VERSION/metabase.jar -O \\$TMP_DIR/metabase.jar && \\
mkdir -p repo && \\
mvn deploy:deploy-file -Durl=file:repo -DgroupId=com.firebolt -DartifactId=metabase-core -Dversion=1.40 -Dpackaging=jar -Dfile=\\$TMP_DIR/metabase.jar"]
"javac" "compile"]}
{:dependencies [[com.firebolt/metabase-core "1.40"]]}

:uberjar
{:auto-clean true
Expand Down

0 comments on commit 6f8bd68

Please sign in to comment.