Skip to content

Commit

Permalink
Try using booleans
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbarclay committed Oct 31, 2023
1 parent 3df754a commit 17d37e7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ jobs:
tidal-url: '${{ secrets.TIDAL_URL }}'
tidal-password: '${{ secrets.TIDAL_PASSWORD }}'
app-id: '66'
debug: true
10 changes: 7 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ inputs:
description: 'The ID of the application that is linked to this repository'
required: true
directory:
description: 'The directory for tidal-tools to run code analysis on'
required: true
default: '${{ github.workspace }}'
description: 'The directory for tidal-tools to run code analysis on'
required: true
default: '${{ github.workspace }}'
debug:
description: 'Set the debug flag to true to enable increased logging'
required: false
runs:
using: 'docker'
image: 'docker://gcr.io/tidal-1529434400027/tidal-tools:latest'
Expand All @@ -32,3 +35,4 @@ runs:
- --app-id
- '${{ inputs.app-id }}'
- '${{ inputs.directory }}'
- ${{ inputs.debug == 'true' && '--debug' || '' }}
7 changes: 3 additions & 4 deletions doctor/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ runs:
args:
- 'doctor'
- '--tidal-email'
- '${{inputs.tidal-email}}'
- '${{ inputs.tidal-email }}'
- '--tidal-password'
- '${{inputs.tidal-password}}'
- '${{ inputs.tidal-password }}'
- '--tidal-url'
- '${{inputs.tidal-url}}'

- '${{ inputs.tidal-url }}'

0 comments on commit 17d37e7

Please sign in to comment.