Skip to content

Commit

Permalink
Try working around gradle subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
Pikachu920 committed Aug 16, 2024
1 parent bac77e7 commit cae2711
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,14 @@ runs:
if: steps.cache-skript.outputs.cache-hit != 'true'
shell: bash
run: |
cd ./skript
skript_temp_dir=$(mktemp -d --suffix="skript")
original_directory=$(realpath "$PWD")
cp -a ./skript "$skript_temp_dir"
cd "$skript_temp_dir"
chmod +x ./gradlew
./gradlew quickTest
cp -a "$skript_temp_dir/build" "$original_directory/build"
cd "$original_directory"
- name: Cache test image
uses: ScribeMD/docker-cache@0.5.0
id: cache-image
Expand Down

0 comments on commit cae2711

Please sign in to comment.