-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (34 loc) · 921 Bytes
/
Copy pathtest.yml
File metadata and controls
38 lines (34 loc) · 921 Bytes
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
name: Test
on:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#push
push:
branches:
- 'main'
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
workflow_dispatch:
inputs:
install-dir:
required: false
type: string
default: '/usr/local/aws-cli'
bin-dir:
required: false
type: string
default: '/usr/local/bin'
gpg-verify:
required: false
type: boolean
default: true
jobs:
try:
name: try
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup aws-cli
uses: ./
with:
install-dir: ${{ github.event.inputs.install-dir }}
bin-dir: ${{ github.event.inputs.bin-dir }}
gpg-verify: ${{ github.event.inputs.gpg-verify }}