Skip to content

Commit

Permalink
add manual trigger to example run
Browse files Browse the repository at this point in the history
  • Loading branch information
gregcarv committed Jan 20, 2023
1 parent fb416f1 commit 7e081c4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/example-runs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Example Runs

on: push
on:
push:
workflow_dispatch:

jobs:
example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- id: fetch-latest-release
uses: ./
Expand All @@ -15,10 +17,11 @@ jobs:
run: echo "The latest release tag is $TAG"
env:
TAG: ${{ steps.fetch-latest-release.outputs.tag_name }}

customRepoExample:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- id: fetch-latest-release
uses: ./
Expand Down

0 comments on commit 7e081c4

Please sign in to comment.