Commit Graph

22 Commits

Author SHA1 Message Date
Julien Goux
ad077b4817 fix: v1 setup on Linux musl (#432)
## Summary

- Detect Linux musl runners in the v1 action and download the Supabase
CLI `.apk` asset for CLI versions `>= 2.99.0`.
- Add the extracted `usr/bin` directory to `PATH` for `.apk` archives.
- Backport the optional `github-token` input for authenticated `latest`
release lookup, because the test matrix hit unauthenticated GitHub API
rate limits.
- Rebuild `dist/index.js` for the Node action.

## Validation

- `npm run format:check`
- `npm run lint`
- `npm test`
- `npm run package`
- Local Docker smoke test in `node:20-alpine` with
`INPUT_VERSION=2.100.1`
- setup-cli-testing workflow:
https://github.com/jgoux/setup-cli-testing/actions/runs/26165593808

The external workflow passed Alpine `2.100.1`, Alpine `latest`, and
Ubuntu/macOS/Windows with both `2.100.1` and `latest`.
2026-05-20 16:22:46 +02:00
Han Qiao
b60b5899c7 chore: migrate to esm (#334)
* chore: update unit tests

* fix: follow latest action template

* chore: add licenses and workflows

* chore: remove bloat

* chore: fix linter
2025-07-23 15:04:43 +08:00
Han Qiao
d347ba47d3 feat: bump default cli version to v2 (#324)
fix: bump default cli version to v2
2025-03-21 06:07:54 +08:00
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
Qiao Han
87162dc7e9 feat: bump default cli version to 1.136.3 2024-01-31 12:44:59 +08:00
Han Qiao
b7e5a9d3ac chore: update docs for updating action v1 2024-01-29 00:12:30 +08:00
Han Qiao
a486ca4eff chore: mention bitbucket and gitlab CI support 2024-01-17 15:21:50 +08:00
Qiao Han
8c367f4e1e chore: update release docs 2023-05-17 19:03:33 +08:00
Qiao Han
6333c3ad34 chore: update distribution file 2023-05-17 18:57:23 +08:00
Qiao Han
3fad79ab52 chore: update default cli version to 1.28.3 2023-01-05 11:02:33 +08:00
Han Qiao
3d880f790e fix: support new release archive name (#112)
* fix: support new release archive name

* chore: update default cli version to 1.28.0
2023-01-04 12:03:10 +08:00
Qiao Han
6fce44cc9c chore: update readme to use db start 2022-11-28 13:58:02 +08:00
Han Qiao
ce2cb4237d chore: update suggested version of CLI to 1.12.2 2022-11-12 11:46:04 +08:00
Han Qiao
7c322cd16b chore: update suggested version of CLI in readme 2022-11-12 11:44:59 +08:00
y-yagi
ebf970dfe2 feat: support downloading the latest version automatically (#70) 2022-10-11 16:11:00 +00:00
y-yagi
913e9e7c0a chore: simplify an example of diff checking (#69)
The original sample hides the result of `git diff`. So if `git diff` returns an
error(e.g. invalid file name specified), the result will be success.

We can use `--exit-code ` option if we only want to know whether differences
exist without depending on other commands.
Ref: https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---exit-code
2022-10-07 10:45:15 +08:00
Han Qiao
bb0eecfe00 Update README.md 2022-08-15 10:03:11 +08:00
Han Qiao
bb9cbf8783 Update README.md 2022-08-15 09:55:15 +08:00
Han Qiao
cf53256c7b Update default cli version (#21) 2022-08-15 09:27:08 +08:00
Han Qiao
234d31220e Update readme and default version (#10) 2022-08-06 02:27:39 +08:00
Qiao Han
39cbf44fc1 Upgrade to node 18 2022-08-04 00:15:17 +08:00
Han Qiao
1633052be9 Initial commit 2022-08-03 21:32:01 +08:00