Update github-actions-demo.yml #2
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: GitHub Actions Demo | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- .github/* | ||
pull_request: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: '15 6 * * 0' | ||
workflow_dispatch: | ||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Output the name of the event that triggered the workflow | ||
run: echo ${{ github.event_name }} | ||
- name: Output the name of the branch that the repository is currently referencing | ||
run: echo ${{ github..head_ref }} | ||
Check failure on line 21 in .github/workflows/github-actions-demo.yml GitHub Actions / GitHub Actions DemoInvalid workflow file
|
||