Skip to content

Commit

Permalink
Update main.yml to private action
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsherrill-made4net authored Nov 15, 2024
1 parent 0f6ea50 commit bd1ee3a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ jobs:
runs-on: ubuntu-latest
name: A job to say hello
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v4
- name: Hello world action step
uses: ./ # Uses an action in the root directory
id: hello
uses: ericsherrill-made4net/hello-world-javascript-action@latest
with:
who-to-greet: 'Eric Sherrill'
who-to-greet: 'Mona the Octocat'
# Use the output from the `hello` step
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"

0 comments on commit bd1ee3a

Please sign in to comment.