Skip to content

Commit 003541f

Browse files
Merge pull request #391 from OctopusDeploy/isaac/use-releases-json
Using releases.json stored in repository to avoid rate limiting
2 parents 8e693cb + f08f661 commit 003541f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/octopus-cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {OctopusCLIVersionFetcher} from './octopusCLIVersionFetcher'
1515
const osPlatform: string = os.platform()
1616
const osArch: string = os.arch()
1717
const ext: string = osPlatform === 'win32' ? 'zip' : 'tar.gz'
18-
const releasesUrl = `https://api.github.com/repos/OctopusDeploy/cli/releases`
18+
const releasesUrl = `https://raw.githubusercontent.com/OctopusDeploy/cli/main/releases.json`
1919
const http: HttpClient = new HttpClient(
2020
'action-install-octopus-cli',
2121
undefined,

0 commit comments

Comments
 (0)