-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 793 Bytes
/
basic.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 }}