Update README to show correct version number in example

Supersedes #3; thank you @kod-kristoff!
This commit is contained in:
Matthias Pigulla 2019-09-24 22:08:56 +00:00
parent e181806200
commit 1a9af8e8e0

View file

@ -27,7 +27,9 @@ jobs:
... ...
steps: steps:
- actions/checkout@v1 - actions/checkout@v1
- uses: webfactory/ssh-agent@v0.1 # Make sure the @v0.1.1 matches the current version of the
# action
- uses: webfactory/ssh-agent@v0.1.1
with: with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- ... other steps - ... other steps
@ -76,6 +78,7 @@ As a note to my future self, in order to work on this repo:
* `node index.js` (inputs are passed through `INPUT_` env vars, but how to set `ssh-private-key`?) * `node index.js` (inputs are passed through `INPUT_` env vars, but how to set `ssh-private-key`?)
* Run `./node_modules/.bin/ncc build index.js` to update `dist/index.js`, which is the file actually run * Run `./node_modules/.bin/ncc build index.js` to update `dist/index.js`, which is the file actually run
* Read https://help.github.com/en/articles/creating-a-javascript-action if unsure. * Read https://help.github.com/en/articles/creating-a-javascript-action if unsure.
* Maybe update the README example when publishing a new version.
## Credits, Copyright and License ## Credits, Copyright and License