Skip to content

Actions Workflow

Actions Workflow #8045

Workflow file for this run

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 }}"