Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0f9c413e5 | ||
|
|
d744239ce1 | ||
|
|
bfac95679f | ||
|
|
640630d09e | ||
|
|
70b6cfe9d1 | ||
|
|
933334b350 |
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -16,13 +16,12 @@ jobs:
|
||||
bun-version:
|
||||
["latest", "0.1.3", "latest"]
|
||||
misc-test-builds:
|
||||
[false, true]
|
||||
[false]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
|
||||
if: matrix.os != 'macos-latest' && matrix.misc-test-builds != true
|
||||
uses: ./
|
||||
with:
|
||||
bun-version: ${{ matrix.bun-version }}
|
||||
@@ -30,6 +29,5 @@ jobs:
|
||||
misc-test-builds: ${{ matrix.misc-test-builds }}
|
||||
|
||||
- name: Try bun
|
||||
if: matrix.os != 'macos-latest' && matrix.misc-test-builds != true
|
||||
run: |
|
||||
bun --version
|
||||
|
||||
2
dist/utils/getGithubRelease.js
vendored
2
dist/utils/getGithubRelease.js
vendored
@@ -10,7 +10,7 @@ export default async (version, token, miscTestBuilds) => {
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'User-Agent': 'setup-bun-github-action',
|
||||
'Authorization': token
|
||||
'Authorization': `token ${token}`
|
||||
}
|
||||
})).json();
|
||||
return {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.4",
|
||||
"name": "setup-bun",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
|
||||
@@ -25,7 +25,7 @@ export default async(version: string, token: string, miscTestBuilds: boolean): P
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'User-Agent': 'setup-bun-github-action',
|
||||
'Authorization': token
|
||||
'Authorization': `token ${token}`
|
||||
}
|
||||
})).json();
|
||||
|
||||
@@ -33,4 +33,4 @@ export default async(version: string, token: string, miscTestBuilds: boolean): P
|
||||
...release,
|
||||
version: miscTestBuilds ? `timestamp-v${new Date(release.name).getTime().toString()}` : release.tag_name.replace('bun-v', '')
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user