Skip to content

Commit

Permalink
Fix checkout step
Browse files Browse the repository at this point in the history
  • Loading branch information
Pikachu920 committed Aug 17, 2024
1 parent 3d4833b commit 1f339cb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
uses: actions/checkout@v4
with:
path: skript
repository: ${{ inputs.skript-repo }}
repository: ${{ inputs.skript_repo }}
submodules: recursive
- name: Compute current Skript HEAD
id: skript-sha
Expand All @@ -47,14 +47,9 @@ runs:
if: steps.cache-skript.outputs.cache-hit != 'true'
shell: bash
run: |
skript_temp_dir=$(mktemp -d --suffix="skript")
original_directory=$(realpath "$PWD")
cp -a ./skript "$skript_temp_dir"
cd "$skript_temp_dir/skript"
cd ./skript
chmod +x ./gradlew
./gradlew quickTest
cp -a "$skript_temp_dir/skript/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 1f339cb

Please sign in to comment.