Skip to content

Commit

Permalink
Update example and node version
Browse files Browse the repository at this point in the history
Signed-off-by: davidmirror-ops <david [email protected]>
  • Loading branch information
davidmirror-ops committed Oct 31, 2023
1 parent 752f9cb commit 230cd07
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flytectl-setup-action

This action sets up [flytectl](https://docs.flyte.org/projects/flytectl/en/stable/) for use in actions by:
This action sets up [flytectl](https://docs.flyte.org/projects/flytectl/en/stable/) for use in actions.

## Usage

Expand Down Expand Up @@ -33,15 +33,17 @@ steps:
## Getting started Example
```bash
steps:
- uses: actions/checkout@v2
- uses: unionai-oss/flytectl-setup-action@master
- name: Setup demo cluster
run: flytectl demo start
- name: Setup flytectl config
run: flytectl config init
- name: Register Core example
run: |
FLYTESNACKS_VERSION=$(curl --silent "https://api.github.com/repos/flyteorg/flytectl/releases/latest" | jq -r .tag_name)
flytectl register files -p flytesnacks -d development --archive https://github.com/flyteorg/flytesnacks/releases/download/$FLYTESNACKS_VERSION/flytesnacks-core.tgz --version v1
name: flytectl-setup-action
on: [push]
jobs:
install-flytectl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: unionai-oss/flytectl-setup-action@master
- name: Setup demo cluster
run: flytectl demo start
- name: Setup flytectl config
run: flytectl config init

```
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ inputs:
required: false
default: 'latest'
runs:
using: 'node12'
using: 'node16'
main: './dist/main.js'

0 comments on commit 230cd07

Please sign in to comment.