ci: define job output (#1940)

This commit is contained in:
mmetc 2022-12-22 11:06:05 +01:00 committed by GitHub
parent b561a370cd
commit 79aecac2da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 8 deletions

View file

@ -16,6 +16,8 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
tag_name: ${{ steps.get_latest_release.tag_name }}
steps:
- id: get_latest_release
uses: cardinalby/git-get-release-action@cedef2faf69cb7c55b285bad07688d04430b7ada

View file

@ -11,15 +11,17 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
tag_name: ${{ steps.get_latest_release.tag_name }}
steps:
- id: get_latest_release
uses: cardinalby/git-get-release-action@cedef2faf69cb7c55b285bad07688d04430b7ada
env:
GITHUB_TOKEN: ${{ github.token }}
with:
latest: true
draft: false
prerelease: false
- id: get_latest_release
uses: cardinalby/git-get-release-action@cedef2faf69cb7c55b285bad07688d04430b7ada
env:
GITHUB_TOKEN: ${{ github.token }}
with:
latest: true
draft: false
prerelease: false
dispatch:
name: dispatch to hub-tests

View file

@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
tag_name: ${{ steps.get_latest_release.tag_name }}
steps:
- id: get_latest_release
uses: cardinalby/git-get-release-action@cedef2faf69cb7c55b285bad07688d04430b7ada