Skip to content

Commit

Permalink
chore: update default cli version to 1.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Jan 4, 2023
1 parent 8136657 commit 846a858
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ A specific version of the `supabase` CLI can be installed:
steps:
- uses: supabase/setup-cli@v1
with:
version: 1.16.1
version: 1.28.0
```

Run `supabase db start` to execute all migrations on a fresh database:
Expand All @@ -33,7 +33,7 @@ Run `supabase db start` to execute all migrations on a fresh database:
steps:
- uses: supabase/setup-cli@v1
with:
version: 1.16.1
version: latest
- run: supabase init
- run: supabase db start
```
Expand All @@ -44,7 +44,9 @@ Since Supabase CLI relies on Docker Engine API, additional setup may be required

The actions supports the following inputs:

- `version`: The version of `supabase` to install, defaulting to `1.0.0`. You can also specify `latest` to use the latest version.
| Name | Type | Description | Default | Required |
| --------- | ------ | ---------------------------------- | -------- | -------- |
| `version` | String | Supabase CLI version (or `latest`) | `1.28.0` | false |

## Advanced Usage

Expand Down Expand Up @@ -134,7 +136,7 @@ You can now validate the action by referencing `./` in a workflow in your repo (
```yaml
uses: ./
with:
version: 1.16.1
version: latest
```

See the [actions tab](https://github.com/actions/typescript-action/actions) for runs of this action! :rocket:
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
version:
description: Version of Supabase CLI to install
required: false
default: 1.0.0
default: 1.28.0
runs:
using: node16
main: dist/index.js

0 comments on commit 846a858

Please sign in to comment.