Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
fix typo, use beta5 in test
Browse files Browse the repository at this point in the history
  • Loading branch information
pearkes committed Oct 9, 2020
1 parent 1ceac85 commit dd7c67b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ jobs:
- uses: actions/checkout@v2
- uses: ./
with:
version: '0.1.0'
version: '0.0.1-beta5'
- run: waypoint version
2 changes: 1 addition & 1 deletion __tests__/install.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('install tests', () => {
it('attempts to download the tool if no version is found in the cache', async () => {
const download = nock(install.releasesUrl())
.persist()
.get(`/${PRODUCT_NAME}/0.1.0/${PRODUCT_NAME}_0.1.0_darwin_amd64.zip`)
.get(`/${PRODUCT_NAME}/0.1.0/${PRODUCT_NAME}_0.1.0_${os.platform()}_amd64.zip`)
.replyWithFile(200, `${__dirname}/product.zip`, {
'Content-Type': 'application/zip',
});
Expand Down
6 changes: 3 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function releasesUrl(): string {
}

async function getMetadata(product: string): Promise<MetadataIndex | undefined> {
const http = new httpm.HttpClient('action-setup-wapoint', [], {
const http = new httpm.HttpClient('action-setup-waypoint', [], {
allowRetries: true,
maxRetries: 5,
});
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as core from '@actions/core';
import { getBinary } from './install';

export const PRODUCT_NAME = 'otto';
export const PRODUCT_NAME = 'waypoint';

export async function run(): Promise<void> {
try {
Expand Down

0 comments on commit dd7c67b

Please sign in to comment.