Source: .github/actions/jess-setup/action.yml · composite action
Inputs#
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
jess-version | — | true | — | The jess release tag to install (the DreamWeave-MP/jess release's). |
Permissions#
Top-level: —. Undeclared means inherited from the caller, not "none needed".
Steps#
Composite action#
| Step | Action / command | Condition |
|---|---|---|
| Install jess | set -euo pipefail case "$RUNNER_OS-$RUNNER_ARCH" in Linux-X64) asset="jess-Linux-X64.zip" ;; macOS-ARM64) asset="jess-macOS-ARM64.zip" ;; macOS-X64) asset="jess-macOS-X64.zip" ;; Windows-X64) asset="jess-Windows-X64.zip" ;; ) echo "no jess release for $RUNNER_OS $RUNNER_ARCH" >&2; exit 1 ;; esac install_dir="$RUNNER_TEMP/jess-$JESS_VERSION" mkdir -p "$install_dir" curl --fail --silent --show-error --location \ "https://github.com/DreamWeave-MP/jess/releases/download/$JESS_VERSION/$asset" \ --output "$install_dir/$asset" unzip -q -o "$install_dir/$asset" -d "$install_dir" chmod +x "$install_dir/jess" || true echo "$install_dir" >> "$GITHUB_PATH" "$install_dir/jess" --version | — |