Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Merge pull request #15 from hemang-rajyaguru/hemang-rajyaguru-patch-2 #31

Merge pull request #15 from hemang-rajyaguru/hemang-rajyaguru-patch-2

Merge pull request #15 from hemang-rajyaguru/hemang-rajyaguru-patch-2 #31

Workflow file for this run

name: Create Release
on:
push:
branches:
- main
jobs:
releaseInfo:
name: Dump info
runs-on: ubuntu-latest
outputs:
runRelease: ${{ steps.PR.outputs.pr_found == 'true' && steps.PR.outputs.pr_labels == 'release' }}
steps:
- uses: 8BitJonny/[email protected]
id: PR
- name: "check for release"
run: |
echo ${{ steps.PR.outputs.pr_found == 'true' && steps.PR.outputs.pr_labels == 'release' }}
createRelease:
needs: releaseInfo
if: needs.releaseInfo.outputs.runRelease == true
runs-on: ubuntu-latest
steps:
- name: "Execute Release"
run: |
echo ${{ steps.PR.outputs.pr_labels }}
echo "{prLabel}=${{ steps.PR.outputs.pr_labels }}" >> "$GITHUB_OUTPUT"