Add workflow to output github.ref when the triggering event is a release #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release-test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
release: | |
jobs: | |
echo-variable: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: See what github.ref is on release | |
run: echo ${{ github.ref }} |