-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (51 loc) · 1.27 KB
/
Copy pathactions.yml
File metadata and controls
53 lines (51 loc) · 1.27 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
name: Actions Workflow
on:
push:
branches:
- master
- "feature/**" # matches featur/featA, feature/featB, doesn't match feature/feat/a
- "!feature/featc"
tags:
- v1.*
paths:
- "**.js"
- "!filename.js"
# paths-ignore:
# - 'docs/**'
# repository_dispatch:
# types: [build]
# schedule:
# - cron: "0/5 * * * *"
# - cron: "0/6 * * * *"
# push:
# pull_request:
# types: [closed, assigned, opened, reopened]
jobs:
run-github-actions:
runs-on: ubuntu-latest
steps:
- name: playload
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: John
- name: Log Greeting Time
run: echo "${{ steps.greet.outputs.time }}"