Skip to content

Commit

Permalink
Add a way to use latest action
Browse files Browse the repository at this point in the history
  • Loading branch information
satackey committed Mar 27, 2020
1 parent acece28 commit a4d35f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Run JavaScript instead of shell script in GitHub Actions.
## Example
```yaml
- name: Output current branch name & date
# To use latest action, specify "release-master" instead of "v0.0.2"
uses: satackey/[email protected]
id: getdata
with:
Expand All @@ -20,7 +21,6 @@ Run JavaScript instead of shell script in GitHub Actions.
core.setOutput('branch', branch)
// date
const dateResponse = await axios('https://ntp-a1.nict.go.jp/cgi-bin/json')
/* {
"id": "ntp-a1.nict.go.jp",
Expand Down

0 comments on commit a4d35f1

Please sign in to comment.