-
Notifications
You must be signed in to change notification settings - Fork 126
52 lines (43 loc) · 1.18 KB
/
build-test.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Build & Test
on:
push:
branches: [master]
workflow_dispatch:
# permissions:
# contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Build with ncc
run: |
npm install
npm run build
- name: Invoke echo 1 workflow using this action
uses: ./
with:
workflow: Message Echo 1
inputs: '{"message": "blah blah"}'
- name: Invoke echo 2 workflow using this action
uses: ./
with:
workflow: echo-2.yaml
- name: Invoke echo 1 workflow by id
uses: ./
with:
workflow: "1854247"
inputs: '{"message": "Mango jam"}'
# - name: Push dist back to GitHub
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# branch: ${{ github.ref }}
# - name: Invoke external workflow using this action
# uses: ./
# with:
# workflow: Deploy To Kubernetes
# repo: benc-uk/dapr-store
# token: ${{ secrets.PERSONAL_TOKEN }}
# ref: master