Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install MultiTool via Action
uses: "./"
with:
install-only: true
install-only: "true"
version: "v0.3.0"

- name: "Test CLI is installed"
Expand All @@ -40,5 +40,5 @@ jobs:
with:
email: ${{ secrets.MULTITOOL_QA_EMAIL }}
password: ${{ secrets.MULTITOOL_QA_PASSWORD }}
dry-run: true
cache-binary: false
dry-run: "true"
cache-binary: "false"
8 changes: 5 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ inputs:
install-only:
description: "Whether to install the CLI and then exit"
required: false
default: false
default: "false"

dry-run:
description: "Skips running `multi run`. Useful for testing login credentials."
required: false
default: false
default: "false"

email:
description: "An email address to use when logging in."
Expand All @@ -33,7 +33,7 @@ inputs:
cache-binary:
description: "When enabled (default), the `multi` binary will be added to the Actions cache and reused between runs"
required: false
default: true
default: "true"

outputs:
output-string:
Expand All @@ -52,8 +52,10 @@ runs:

- name: Login
shell: bash
if: ${{ inputs.install-only != 'true' }}
run: "multi login --enable-colors=always --email=${{ inputs.email }} --password=${{ inputs.password }}"

- name: Run
shell: bash
if: ${{ inputs.install-only != 'true' && inputs.dry-run != 'true' }}
run: "multi run --enable-colors=always"