Skip to content

Commit

Permalink
fix: updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Apr 13, 2021
1 parent d170130 commit 1aa6329
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To install the latest version of the Octopus CLI:
steps:
- uses: actions/checkout@v2
- name: Install Octopus CLI 🐙
uses: OctopusDeploy/install-octopus-cli-action@v1.1.1
uses: OctopusDeploy/install-octopus-cli-action@v1
with:
version: latest
```
Expand All @@ -27,7 +27,7 @@ To install a specific version of the Octopus CLI:
steps:
- uses: actions/checkout@v2
- name: Install Octopus CLI 🐙
uses: OctopusDeploy/install-octopus-cli-action@v1.1.1
uses: OctopusDeploy/install-octopus-cli-action@v1
with:
version: 7.4.3140
```
Expand All @@ -38,7 +38,7 @@ Here's an example of invoking the `list-deployments` command after installing th
steps:
- uses: actions/checkout@v2
- name: Install Octopus CLI 🐙
uses: OctopusDeploy/install-octopus-cli-action@v1.1.1
uses: OctopusDeploy/install-octopus-cli-action@v1
with:
version: 7.4.2
- name: list-octopusdeploy-deployments
Expand Down

2 comments on commit 1aa6329

@junkangli
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jbristowe The v1 of the action does not work when I tried the first example, which is to install the latest version of the Octopus CLI.
Below is an extract of my workflow run log:

2021-04-14T07:54:52.8691902Z ##[group]Run OctopusDeploy/install-octopus-cli-action@v1
2021-04-14T07:54:52.8692734Z with:
2021-04-14T07:54:52.8693143Z   version: latest
2021-04-14T07:54:52.8693687Z ##[endgroup]
2021-04-14T07:54:53.6509929Z Object prototype may only be an Object or null: undefined
2021-04-14T07:54:53.6510747Z Waiting 15 seconds before trying again
2021-04-14T07:55:08.6926474Z Object prototype may only be an Object or null: undefined
2021-04-14T07:55:08.6933860Z Waiting 19 seconds before trying again
2021-04-14T07:55:27.7496408Z ##[error]TypeError: Object prototype may only be an Object or null: undefined

@jbristowe
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I'll take a look.

Please sign in to comment.