mirror of
https://github.com/reiyua/github-profile-trophy-reiyua-mirror.git
synced 2026-11-17 06:02:09 +11:00
Add theme input to action.yml (#423)
This commit is contained in:
parent
7b9f47565e
commit
192693fe27
1 changed files with 5 additions and 1 deletions
|
|
@ -11,6 +11,10 @@ inputs:
|
|||
token:
|
||||
description: "PAT or token to use for GitHub API"
|
||||
required: true
|
||||
theme:
|
||||
description: "Theme for the card"
|
||||
required: false
|
||||
default: "default"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
|
@ -24,4 +28,4 @@ runs:
|
|||
env:
|
||||
GITHUB_TOKEN1: ${{ inputs.token }}
|
||||
run: |
|
||||
deno run --allow-net --allow-env --allow-read --allow-write $GITHUB_ACTION_PATH/render_svg.ts "${{ inputs.username }}" "${{ inputs.output_path }}"
|
||||
deno run --allow-net --allow-env --allow-read --allow-write $GITHUB_ACTION_PATH/render_svg.ts "${{ inputs.username }}" "${{ inputs.output_path }}" "${{ inputs.theme }}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue