Files
setup-cli/.github/workflows/start.yml
Abizer Lokhandwala fe52e8551e feat: bump default cli version to 1.178.2 (#287)
* feat: bump default cli version to 1.176.10

* Update action.yml

* Update README.md

* Update README.md

* Update start.yml

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Han Qiao <qiao@supabase.io>
2024-07-03 11:43:50 +08:00

36 lines
770 B
YAML

name: CLI Start
on:
push:
branches:
- main
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 1,9 * * *'
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
e2e: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 1.178.2
- latest
pg_major:
- 14
- 15
steps:
- uses: actions/checkout@v4
- uses: ./
with:
version: ${{ matrix.version }}
- run: supabase init
- run: sed -i -E "s|^(major_version) .*|\1 = ${{ matrix.pg_major }}|" supabase/config.toml
- run: supabase start