Next release of setup-bun

This commit is contained in:
Ashcon Partovi 2023-02-22 17:47:24 -08:00
parent ed9eb0969c
commit 9c14b74b45
1082 changed files with 242557 additions and 173810 deletions

35
.github/workflows/action.yml vendored Normal file
View file

@ -0,0 +1,35 @@
name: Setup Bun
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
setup-bun:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
bun-version:
- latest
- canary
- "0.5.6"
- "9be68ac2350b965037f408ce4d47c3b9d9a76b63"
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v2
- id: setup-bun
name: Setup Bun
uses: ./
with:
bun-version: ${{ matrix.bun-version }}
- id: verify-bun
name: Verify Bun
run: |
bun --version

View file

@ -1,96 +0,0 @@
name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
bun-version:
["latest", "0.1.4"]
steps:
- uses: actions/checkout@v2
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
uses: ./
with:
bun-version: ${{ matrix.bun-version }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Try bun
run: |
bun --version
test-version-canary:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
bun-version:
["canary"]
steps:
- uses: actions/checkout@v2
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
uses: ./
with:
bun-version: ${{ matrix.bun-version }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Try bun
run: |
bun --version
test-custom-download-url:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
bun-version:
["latest"]
custom-download-url:
["https://api.github.com/repos/oven-sh/bun/actions/artifacts/509746254/zip"]
# use the artifact ID for `bun-linux-x64` from a recent CI build
steps:
- uses: actions/checkout@v2
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
uses: ./
with:
bun-version: ${{ matrix.bun-version }}
github-token: ${{ secrets.GITHUB_TOKEN }}
custom-download-url: ${{ matrix.custom-download-url }}
- name: Try bun
run: |
bun --version
test-custom-repository:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
bun-version:
["latest"]
repository:
["https://github.com/oven-sh/misc-test-builds"]
steps:
- uses: actions/checkout@v2
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
uses: ./
with:
bun-version: ${{ matrix.bun-version }}
github-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ matrix.repository }}
- name: Try bun
run: |
bun --version