Actions Workflow #8163
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: Actions Workflow | |
on: | |
repository_dispatch: | |
types: [build] | |
# push: | |
schedule: | |
- cron: "0/5 * * * *" | |
pull_request: | |
types: [assigned, opened, closed, reopened] | |
issues: | |
types: [opened, edited, closed, assigned] | |
jobs: | |
Workflow-Actions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Files before checkout | |
run: | | |
pwd | |
ls -a | |
- name: Checkout Action | |
id: checkout-action | |
uses: actions/checkout@v2 | |
- name: Files after checkout | |
run: | | |
pwd | |
ls -a | |
- name: Hello-World-Action | |
id: hello-world | |
uses: actions/[email protected] | |
with: | |
who-to-greet: Watermelon Sugar | |
- name: Hello World Output | |
run: echo "${{steps.hello-world.outputs.time}}" | |
- name: Show Environment variables | |
run: | | |
echo $GITHUB_SHA | |
echo $GITHUB_REPOSITORY | |
echo "${{ github.token }}" |