Skip to content

Commit

Permalink
Switch to underscores for inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pikachu920 committed Feb 5, 2024
1 parent 23d875d commit 574a2f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: 'Skript Tests'
description: 'Runs Skript tests'
inputs:
test-script-directory:
test_script_directory:
description: 'The directory containing the tests to run'
required: true
skript-repo-ref:
skript_repo_ref:
description: 'The Git reference of the Skript version to test with (this can be a commit sha, branch, tag, etc.)'
required: false
run-vanilla-tests:
run_vanilla_tests:
description: 'Controls whether or not the vanilla Skript tests are run. It is recommended you keep this on to ensure your addon doesn''t change vanilla behavior'
required: false
default: 'true'

outputs:
passed:
description: 'Whether or not the tests passed'
#outputs:
# passed:
# description: 'Whether or not the tests passed'

runs:
using: 'docker'
Expand Down
6 changes: 3 additions & 3 deletions run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh -l

test_script_directory="${INPUT_TEST-SCRIPT-DIRECTORY}"
skript_repo_ref="${INPUT_SKRIPT-REPO-REF}"
run_vanilla_tests="${INPUT_RUN-VANILLA-TESTS}"
test_script_directory="${INPUT_TEST_SCRIPT_DIRECTORY}"
skript_repo_ref="${INPUT_SKRIPT_REPO_REF}"
run_vanilla_tests="${INPUT_RUN_VANILLA_TESTS}"
skript_test_directory="/skript/src/test/skript/tests"

echo "Configuration:"
Expand Down

0 comments on commit 574a2f9

Please sign in to comment.