mirror of
https://github.com/supabase/setup-cli.git
synced 2025-12-09 00:26:26 +00:00
Update default cli version (#21)
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||||
version: [0.32.1, 0.34.2]
|
version: [1.0.0]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: ./
|
- uses: ./
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ A specific version of the `supabase` CLI can be installed:
|
|||||||
steps:
|
steps:
|
||||||
- uses: supabase/setup-cli@v1
|
- uses: supabase/setup-cli@v1
|
||||||
with:
|
with:
|
||||||
version: 0.34.2
|
version: 1.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
Run `supabase start` to execute all migrations on a fresh database:
|
Run `supabase start` to execute all migrations on a fresh database:
|
||||||
@@ -33,7 +33,7 @@ Run `supabase start` to execute all migrations on a fresh database:
|
|||||||
steps:
|
steps:
|
||||||
- uses: supabase/setup-cli@v1
|
- uses: supabase/setup-cli@v1
|
||||||
with:
|
with:
|
||||||
version: 0.34.2
|
version: 1.0.0
|
||||||
- run: supabase init
|
- run: supabase init
|
||||||
- run: supabase start
|
- run: supabase start
|
||||||
```
|
```
|
||||||
@@ -44,7 +44,7 @@ Since Supabase CLI relies on Docker Engine API, additional setup may be required
|
|||||||
|
|
||||||
The actions supports the following inputs:
|
The actions supports the following inputs:
|
||||||
|
|
||||||
- `version`: The version of `supabase` to install, defaulting to `0.34.2`
|
- `version`: The version of `supabase` to install, defaulting to `1.0.0`
|
||||||
|
|
||||||
## Advanced Usage
|
## Advanced Usage
|
||||||
|
|
||||||
@@ -129,7 +129,7 @@ You can now validate the action by referencing `./` in a workflow in your repo (
|
|||||||
```yaml
|
```yaml
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
version: 0.34.2
|
version: 1.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [actions tab](https://github.com/actions/typescript-action/actions) for runs of this action! :rocket:
|
See the [actions tab](https://github.com/actions/typescript-action/actions) for runs of this action! :rocket:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ test('gets download url to binary', async () => {
|
|||||||
// shows how the runner will run a javascript action with env / stdout protocol
|
// shows how the runner will run a javascript action with env / stdout protocol
|
||||||
test('test runs', () => {
|
test('test runs', () => {
|
||||||
process.env['RUNNER_TEMP'] = os.tmpdir()
|
process.env['RUNNER_TEMP'] = os.tmpdir()
|
||||||
process.env['INPUT_VERSION'] = '0.34.2'
|
process.env['INPUT_VERSION'] = '1.0.0'
|
||||||
const np = process.execPath
|
const np = process.execPath
|
||||||
const ip = path.join(__dirname, '..', 'lib', 'main.js')
|
const ip = path.join(__dirname, '..', 'lib', 'main.js')
|
||||||
const options: cp.ExecFileSyncOptions = {
|
const options: cp.ExecFileSyncOptions = {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ inputs:
|
|||||||
version:
|
version:
|
||||||
description: Version of Supabase CLI to install
|
description: Version of Supabase CLI to install
|
||||||
required: false
|
required: false
|
||||||
default: 0.34.2
|
default: 1.0.0
|
||||||
runs:
|
runs:
|
||||||
using: node16
|
using: node16
|
||||||
main: dist/index.js
|
main: dist/index.js
|
||||||
|
|||||||
Reference in New Issue
Block a user