Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed Aug 21, 2023
1 parent 9d6bc26 commit 939044a
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,6 @@ inputs:
description: Repository access token
required: true

# runs:
# using: node16
# main: dist/index.js

# This part is temporary to enable Node 18 support

runs:
using: composite
steps:

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node-version || '18' }}

- name: Action
run: |
node ${{ github.action_path }}/dist/index.js
shell: ${{ (runner.os == 'Windows' && 'pwsh') || 'bash' }}
env:
INPUT_NAME: ${{ inputs.name }}
INPUT_VALUE: ${{ inputs.value }}
INPUT_OWNER: ${{ inputs.owner }}
INPUT_ORG: ${{ inputs.org }}
INPUT_TOKEN: ${{ inputs.token }}
INPUT_REPOSITORY: ${{ inputs.repository }}
using: node20
main: dist/index.js

0 comments on commit 939044a

Please sign in to comment.