Further copyedit readme #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test this action | |
on: [push, pull_request, workflow_dispatch] | |
env: | |
FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: 'true' | |
jobs: | |
greet: | |
runs-on: ubuntu-latest | |
name: Greet and show Node version | |
steps: | |
- name: Use hello world action | |
id: hello | |
uses: EliahKagan/hello-world-javascript-action@main | |
with: | |
who-to-greet: 'Eliah' | |
- name: Get the output time | |
run: | | |
echo "The time was $RETRIEVED_TIME." | |
env: | |
RETRIEVED_TIME: ${{ steps.hello.outputs.time }} | |
- name: Get the node version | |
run: | | |
echo "The Node.js version was $RETRIEVED_NODE_VERSION." | |
env: | |
RETRIEVED_NODE_VERSION: ${{ steps.hello.outputs.node-version }} |