Skip to content

Commit

Permalink
fix: action.yaml stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kymppi committed Feb 23, 2024
1 parent 6b994fd commit 991153b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ inputs:
output-folder:
description: Path to the output folder where dependencies are downloaded to, default is .
required: false
version:
description: Version of plugin-downloader to use, default is latest
required: false
default: latest

runs:
using: docker
image: ghcr.io/minehubmc/plugin-downloader:${{ inputs.version }}
image: ghcr.io/minehubmc/plugin-downloader:latest
args:
- ${{ if inputs.config-file }} --config ${inputs.config-file} ${{ endif }}
- ${{ if inputs.output-folder }} --out ${inputs.output-folder} ${{ endif }}
- ${{ inputs.config-file && '--config ' + inputs.config-file }}
- ${{ inputs.output-folder && '--out ' + inputs.output-folder }}

0 comments on commit 991153b

Please sign in to comment.