Skip to content

Commit

Permalink
Input in der Beschreibung aktualisiert
Browse files Browse the repository at this point in the history
  • Loading branch information
pr1metine committed May 3, 2020
1 parent a0776ba commit 3896a09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Eine "GitHub Action" zum Installieren von Processing für CI/CD
## Code
```yaml
- name: Setup Processing
uses: ifP1/[email protected].0
uses: ifP1/[email protected].1
with:
# Version of Processing, e.g. 3.5.4
version:
# e.g. 'windows64.zip', 'windows32.zip', 'linux64.tgz', 'macosx.zip'
platform-filetype: # optional, default is linux64
version: # default is 3.5.4
# e.g. 'windows64.zip', 'windows32.zip', 'linux64.tgz'
platform-filetype: # optional, default is linux64.tgz
```
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: 'Setup Processing'
description: 'Sets up the Processing SDK. Will try to fetch https://processing.org/download/processing-${version}-${platform-filetype}'
inputs:
version:
description: 'Version of Processing, e. g. 3.5.4'
description: 'Version of Processing, e.g. 3.5.4'
required: true
default: '3.5.4'
platform-filetype:
description: "['windows64.zip', 'windows32.zip', 'linux64.tgz']"
description: "e.g. 'windows64.zip', 'windows32.zip', 'linux64.tgz'"
required: false
default: 'linux64.tgz'
# outputs:
Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const core = require('@actions/core')
const tc = require('@actions/tool-cache')

async function run() {

const version = core.getInput('version')
const filetype = core.getInput('platform-filetype')
const zip = filetype.match(/ *.zip$/)
Expand Down

0 comments on commit 3896a09

Please sign in to comment.