mirror of
https://github.com/oven-sh/setup-bun.git
synced 2026-06-11 13:40:48 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a0f9c413e5 | |||
| d744239ce1 | |||
| bfac95679f | |||
| 640630d09e | |||
| 70b6cfe9d1 | |||
| 933334b350 |
@@ -16,13 +16,12 @@ jobs:
|
|||||||
bun-version:
|
bun-version:
|
||||||
["latest", "0.1.3", "latest"]
|
["latest", "0.1.3", "latest"]
|
||||||
misc-test-builds:
|
misc-test-builds:
|
||||||
[false, true]
|
[false]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
|
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
|
||||||
if: matrix.os != 'macos-latest' && matrix.misc-test-builds != true
|
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
bun-version: ${{ matrix.bun-version }}
|
bun-version: ${{ matrix.bun-version }}
|
||||||
@@ -30,6 +29,5 @@ jobs:
|
|||||||
misc-test-builds: ${{ matrix.misc-test-builds }}
|
misc-test-builds: ${{ matrix.misc-test-builds }}
|
||||||
|
|
||||||
- name: Try bun
|
- name: Try bun
|
||||||
if: matrix.os != 'macos-latest' && matrix.misc-test-builds != true
|
|
||||||
run: |
|
run: |
|
||||||
bun --version
|
bun --version
|
||||||
|
|||||||
Vendored
+1
-1
@@ -10,7 +10,7 @@ export default async (version, token, miscTestBuilds) => {
|
|||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'User-Agent': 'setup-bun-github-action',
|
'User-Agent': 'setup-bun-github-action',
|
||||||
'Authorization': token
|
'Authorization': `token ${token}`
|
||||||
}
|
}
|
||||||
})).json();
|
})).json();
|
||||||
return {
|
return {
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.1.3",
|
"version": "0.1.4",
|
||||||
"name": "setup-bun",
|
"name": "setup-bun",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export default async(version: string, token: string, miscTestBuilds: boolean): P
|
|||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'User-Agent': 'setup-bun-github-action',
|
'User-Agent': 'setup-bun-github-action',
|
||||||
'Authorization': token
|
'Authorization': `token ${token}`
|
||||||
}
|
}
|
||||||
})).json();
|
})).json();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user