Skip to content

Commit

Permalink
nvm no alias
Browse files Browse the repository at this point in the history
  • Loading branch information
pstreef committed May 1, 2024
1 parent f364da6 commit 3eef438
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/run-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,9 @@ jobs:
run: |
echo "Download CLI"
mvn -q dependency:copy -Dartifact=io.moderne:moderne-cli:LATEST -DoutputDirectory=.
mv moderne-cli-*.jar mod.jar
which mod | xargs rm 2> /dev/null || true
unalias mod || true
alias mod='java -jar mod.jar'
echo "Build LST"
mod build .
java -jar mod.jar build .
echo "Install recipe"
mod config recipes jar install org.openrewrite.recipe:rewrite-all:LATEST
java -jar mod.jar config recipes jar install org.openrewrite.recipe:rewrite-all:LATEST
echo "Run recipe"
mod run . --recipe=LanguageComposition
java -jar mod.jar run . --recipe=LanguageComposition

0 comments on commit 3eef438

Please sign in to comment.