Compare commits
1 commit
main
...
bazelisk-g
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f23bbe031 |
2 changed files with 4 additions and 2 deletions
|
|
@ -123,6 +123,9 @@ if (externalCacheConfig) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const token = core.getInput('token')
|
||||||
|
core.exportVariable('BAZELISK_GITHUB_TOKEN', token)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
baseCacheKey,
|
baseCacheKey,
|
||||||
bazeliskCache: {
|
bazeliskCache: {
|
||||||
|
|
|
||||||
3
index.js
3
index.js
|
|
@ -69,8 +69,7 @@ async function downloadBazelisk() {
|
||||||
filename = `${filename}.exe`
|
filename = `${filename}.exe`
|
||||||
}
|
}
|
||||||
|
|
||||||
const token = core.getInput('token')
|
const octokit = github.getOctokit(process.env.BAZELISK_GITHUB_TOKEN, {
|
||||||
const octokit = github.getOctokit(token, {
|
|
||||||
baseUrl: 'https://api.github.com'
|
baseUrl: 'https://api.github.com'
|
||||||
})
|
})
|
||||||
const { data: releases } = await octokit.rest.repos.listReleases({
|
const { data: releases } = await octokit.rest.repos.listReleases({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue