forked from alrra/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (40 loc) · 1.34 KB
/
install_some_apps.yml
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
# For more information about the configurations used
# in this file, please see the GitHub Actions documentation.
#
# https://docs.github.com/en/actions
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
jobs:
macOS:
runs-on: macos-latest
steps:
- name: Output Inputs
run: echo '${{ toJSON(github.event.inputs) }}'
- name: Checkout repository
uses: actions/checkout@v4
- name: Install some applications
env:
INSTALL_APPLICATION_IF_READABLE_NAME_MATCH_REGEX: ${{ inputs.applicationsToInstall }}
SHOW_SPINNER_ON_CI: ${{ inputs.showSpinnerOnCI }}
DOTFILES_DEBUG_MODE: ${{ inputs.debugMode }}
TERM: xterm-256color
run: ./src/os/setup.sh -y
name: Install some applications
on:
workflow_dispatch:
inputs:
applicationsToInstall:
description: 'Applications to install (whitelisted regex)'
required: true
default: '^.*$'
type: string
showSpinnerOnCI:
description: 'Show the execution spinner on CI'
required: false
default: false
type: boolean
debugMode:
description: 'Enable debug mode'
required: false
default: false
type: boolean