feat: custom download url, custom repository

This commit is contained in:
xHyroM 2022-07-28 07:50:56 +02:00
parent 27a94d6f80
commit e6a8865f72
9 changed files with 135 additions and 21 deletions

View file

@ -31,3 +31,21 @@ Set up your GitHub Actions workflow with a specific version of Bun.
bun-version: canary
github-token: ${{ secrets.GITHUB_TOKEN }}
```
### Custom repository
```yaml
- uses: xhyrom/setup-bun@v0.1.6
with:
repository: https://github.com/oven-sh/misc-test-builds
github-token: ${{ secrets.GITHUB_TOKEN }}
```
### Custom download url
```yaml
- uses: xhyrom/setup-bun@v0.1.6
with:
custom-download-url: https://github.com/oven-sh/bun/suites/7555351912/artifacts/311939881
github-token: ${{ secrets.GITHUB_TOKEN }}
```