Skip to content

Commit

Permalink
Merge branch 'main' into moderne-feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kmccarp authored May 8, 2024
2 parents 54dc612 + 3179cf2 commit 5529c94
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/waiting.yml → .github/workflows/run-cli.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: CI
name: mod run

# Controls when the workflow will run
on:
Expand Down Expand Up @@ -28,6 +28,14 @@ jobs:
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo "start waiting"
sleep 60
echo "done waiting"
echo "Download CLI"
mvn -q dependency:copy -Dartifact=io.moderne:moderne-cli:2.5.9 -DoutputDirectory=.
mv moderne-cli-*.jar mod.jar
echo "Build LST"
java -jar mod.jar build .
echo "Install recipe"
java -jar mod.jar config recipes jar install org.openrewrite:rewrite-core:LATEST || true
echo "Echo log if exists"
cat ~/.moderne/cli/recipes/*/recipes.log || true
echo "Run recipe"
java -jar mod.jar run . --recipe=FindCommitters
2 changes: 1 addition & 1 deletion test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1710197031629
1710197031629

0 comments on commit 5529c94

Please sign in to comment.