Skip to content

Commit

Permalink
generate source in actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpe7s committed Aug 10, 2024
1 parent 814e61b commit c48582d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:

- name: Generate Source
run: ./run.sh --log="INFO" --tabLength=2 --sourceDirectory="programs/src/main/java" --rpc="${{ secrets.RPC_URL }}" --baseDelayMillis=200 --numThreads=5
env:
GITHUB_ACTOR: ${{ secrets.GPR_USER }}
GITHUB_TOKEN: ${{ secrets.GPR_TOKEN }}

- name: Gradle Check
run: ./gradlew \
Expand All @@ -44,4 +47,5 @@ jobs:
-PtargetJava=22 \
check --stacktrace --no-daemon
env:
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ else
gradleArgs+=('clean')
fi

./gradlew "-PmainClassName=$mainClass" "${gradleArgs[@]}" ":$projectName:jlink"
./gradlew --no-daemon "-PmainClassName=$mainClass" "${gradleArgs[@]}" ":$projectName:jlink"

javaArgs+=('-m' "$moduleName/$mainClass")

Expand Down

0 comments on commit c48582d

Please sign in to comment.