mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-26 00:08:25 +02:00
setup bun with env BUN_VERSION
This commit is contained in:
parent
4573031972
commit
3240db0534
2 changed files with 35 additions and 1 deletions
33
.github/workflows/action-env.yml
vendored
Normal file
33
.github/workflows/action-env.yml
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
name: Setup Bun with env BUN_VERSION
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
setup-bun:
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
bun-version:
|
||||
- "0.5.6"
|
||||
steps:
|
||||
- id: checkout
|
||||
name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- id: setup-bun
|
||||
name: Setup Bun
|
||||
uses: ./
|
||||
env:
|
||||
BUN_VERSION: ${{ matrix.bun-version }}
|
||||
- id: verify-bun
|
||||
name: Verify Bun
|
||||
run: |
|
||||
bun --version
|
Loading…
Add table
Add a link
Reference in a new issue