-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add composite action to test the setup action
Change-type: patch Signed-off-by: Kyle Harding <[email protected]>
- Loading branch information
Showing
3 changed files
with
32 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action | ||
name: "Test setup of balena CLI" | ||
description: "Test setup of balena CLI composite action" | ||
# this inputs are always provided by flowzone, so they must always be defined on the composite action | ||
inputs: | ||
json: | ||
description: "JSON stringified object containing all the inputs from the calling workflow" | ||
required: true | ||
secrets: | ||
description: "JSON stringified object containing all the secrets from the calling workflow" | ||
required: true | ||
variables: | ||
description: "JSON stringified object containing all the variables from the calling workflow" | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Test setup of balena CLI | ||
uses: ./ | ||
with: | ||
cli-version: latest | ||
balena-token: ${{ fromJSON(inputs.secrets).BALENA_API_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters