Skip to content

custom action commented #73

custom action commented

custom action commented #73

Workflow file for this run

name: basic gitaction workflow
on:
push:
branches:
- main
jobs:
build:
name: Display Information
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: welcome msg
run: |
echo "welcome to the gitaction world :)"
- name: Display repo and workflow information
run: |
echo "Repo name : ${{ github.repository }}"
echo "Repo branch: ${{ github.ref }}"
echo "Commit hash: ${{ github.sha }}"
echo "workflow run id: ${{ github.run_id }}"
echo "workflow run id: ${{ github.run_number }}"
- name: printing workflow information
run: |
echo "workspace path: ${{ github.workspace }}"
echo "workspace files inside workspace:"
ls -la ${{ github.workspace }}