Skip to content

Commit

Permalink
Simplified action demo and added one more command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Ciobanu committed Feb 26, 2024
1 parent a07e452 commit 56dcbdd
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/mytest.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
name: MyActionDemo
run-name: ${{ github.actor }} testing actions
on: workflow_dispatch
jobs:
Explore-GitHub-Actions:
MyTestJob:
runs-on: macos-14
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- run: echo "EVENT is ${{ github.event_name }}"
- run: echo "RUNNER is ${{ runner.os }}"
- run: echo "BRANCH is ${{ github.ref }} and REPO is ${{ github.repository }}"
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- run: ls -l ${{ github.workspace }}
- run: brew list
- run: echo "STATUS ${{ job.status }}."

0 comments on commit 56dcbdd

Please sign in to comment.