Skip to content

Commit

Permalink
Add output exposure to action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Jun 9, 2023
1 parent 77505cd commit efcec93
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,18 @@ inputs:
push to the remote wiki. The default is false. This is useful for testing.
required: true
default: false
outputs:
wiki_url:
description: >-
The HTTP URL that points to the deployed repository's wiki tab. This is
essentially the concatenation of github.server_url, github.repository, and
the /wiki page.
value: ${{ steps.main.outputs.wiki_url }}
runs:
using: composite
steps:
- run: '"${GITHUB_ACTION_PATH%/}/src/$INPUT_STRATEGY.sh"'
- id: main
run: '"${GITHUB_ACTION_PATH%/}/src/$INPUT_STRATEGY.sh"'
shell: bash
env:
INPUT_STRATEGY: ${{ inputs.strategy }}
Expand Down

0 comments on commit efcec93

Please sign in to comment.