mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-01 12:15:05 +08:00
23 lines
806 B
YAML
23 lines
806 B
YAML
# This is isolated to its own workflow file to avoid leaking publish secrets into the
|
|
# github token
|
|
name: Get latest release
|
|
on:
|
|
workflow_call:
|
|
outputs:
|
|
latest_release_tag:
|
|
description: 'latest release tag'
|
|
value: ${{ jobs.get_latest_release.outputs.latest_release_tag }}
|
|
jobs:
|
|
get_latest_release:
|
|
name: Get latest release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: pozetroninc/github-action-get-latest-release@v0.7.0
|
|
id: latest_release
|
|
with:
|
|
repository: bdunderscore/modular-avatar
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
excludes: "prerelease, draft"
|
|
- run: echo "latest_release_tag=${{ steps.latest_release.outputs.release }}"
|
|
outputs:
|
|
latest_release_tag: ${{ steps.latest_release.outputs.release }} |