forked from alrra/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👷 Add manual trigger for application installation
This commit introduces a new GitHub action for triggering manual application installations on macOS. The action takes an input parameter for selective application installation using a regex match in the name. This is to provide more flexibility in the automated development setup process. Further, commented out the previous automated install lines in macos.yml as part of transitioning into manual initiation process. This change is part of efforts to enhance control and customization over the automated build setup process.
- Loading branch information
Showing
2 changed files
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 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: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install applications | ||
env: | ||
INSTALL_APPLICATION_IF_READABLE_NAME_MATCH_REGEX: ${{ inputs.applicationsToInstall }} | ||
TERM: xterm-256color | ||
run: ./src/os/setup.sh -y | ||
|
||
name: macOS | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
applicationsToInstall: | ||
description: 'Applications to install (whitelisted regex)' | ||
required: true | ||
default: '^(Chrome).*$' | ||
type: string |