Skip to content

Testing Tags

Testing Tags #57

Workflow file for this run

name: Testing Tags
on:
workflow_dispatch:
jobs:
get-latest-releases:
runs-on: ubuntu-20.04
# outputs:
# output1: ${{ steps.tagger.outputs.tag }}
steps:
- uses: oprypin/[email protected]
with:
repository: therealklh/xbvr # The repository to scan.
releases-only: false # We know that all relevant tags have a GitHub release for them.
prefix: '0.4.'
id: xbvr # The step ID to refer to later.
- run: echo "XBVR is at version ${{ steps.xbvr.outputs.tag }}"
# tagit:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Required due to the weg Git works, without it this action won't be able to find any or the correct tags
ref: master
- name: Find Tag
id: tagger
uses: jimschubert/[email protected]
with:
exclude: '*beta*'
# include: '0.3.*'
commit-ish: 'HEAD'
# if you unshallow in a separate step, use the following option:
skip-unshallow: 'true'
- name: Show Tag
id: display
run: |
echo 'Output from Find Tag: ${{ steps.tagger.outputs.tag }}'
pushover-actions:
needs: get-latest-releases
runs-on: ubuntu-latest
steps:
# - env:
# OUTPUT1: ${{ needs.get-latest-releases.outputs.output1 }}
- uses: actions/checkout@v2 # required to clone your code
- name: pushover-actions
uses: umahmood/pushover-actions@main
env:
PUSHOVER_TOKEN: ${{ secrets.PUSHOVER_TOKEN }}
PUSHOVER_USER: ${{ secrets.PUSHOVER_USER }}
with:
status: ${{ job.status }}
title: 'theRealKLH-patch-1 deployment status'