Skip to content

Commit

Permalink
Switch to composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Feb 22, 2023
1 parent 16de367 commit 3502f89
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 30 deletions.
12 changes: 10 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ inputs:
description: Test runner
required: false

# Note:
# - inputs.* should be manually mapped to INPUT_* due to https://github.com/actions/runner/issues/665
# - Use GITHUB_*/RUNNER_* instead of github.*/runner.* due to https://github.com/actions/runner/issues/2185
runs:
using: node16
main: main.js
using: composite
steps:
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
shell: bash
env:
INPUT_TARGET: ${{ inputs.target }}
INPUT_RUNNER: ${{ inputs.runner }}
28 changes: 0 additions & 28 deletions main.js

This file was deleted.

0 comments on commit 3502f89

Please sign in to comment.