-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (52 loc) · 1.25 KB
/
Copy pathactions.yml
File metadata and controls
54 lines (52 loc) · 1.25 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Actions Workflow
on:
push:
branches:
- master
- 'feature/*' # matches feature/feata,
- 'feature/**' # matches any string
- '!feature/featC'
tags:
- v1.*
paths:
- '**.js'
- '!filename.js'
# paths-ignore:
# - 'docs/**'
#repository_dispatch:
# types: [build]
#schedule:
# - cron: "0/1 * * * *"
# - cron: "0/2 * * * *"
#push:
#pull_request:
# types: [closed, assigned, opened, reopened]
jobs:
run-github-actions:
runs-on: ubuntu-latest
steps:
- name: Payload
run: echo ${{ github.event.client_payload.env }}
- name: List Files
run: |
pwd
ls -a
echo $GITHUB_SHA
echo $GITHUB_REPOSITORY
echo $GITHUB_WORKSPACE
echo "${{ github.token}}"
#git clone git:github:$GITHUB_REPOSITORY
#git checkout $GITHUB_SHA
- name: Checkout
uses: actions/checkout@v1
- name: List Files After Checkout
run: |
pwd
ls -a
- name: Simple JS Action
id: greet
uses: actions/hello-world-javascript-action@v1
with:
who-to-greet: Robin
- name: Log Greeting time
run: echo "${{ steps.greet.outputs.time }}"