diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 58de1b922..409821e55 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -8,10 +8,10 @@ jobs: macOS: runs-on: macos-latest - strategy: - matrix: - include: - - applications-to-install: "^(Chrome).*$" +# strategy: +# matrix: +# include: +# - applications-to-install: "^(Chrome).*$" # - applications-to-install: "^([a-fA-F0-9]|Bash|Java).*$" # - applications-to-install: "^([g-pG-P]|Bash|Java).*$" # - applications-to-install: "^([q-zQ-Z]|Bash|Java).*$" @@ -24,11 +24,11 @@ jobs: - name: Install dependencies run: brew install shellcheck - - name: Install applications in dotfiles - env: - INSTALL_APPLICATION_IF_READABLE_NAME_MATCH_REGEX: ${{ matrix.applications-to-install }} - TERM: xterm-256color - run: ./src/os/setup.sh -y +# - name: Install applications in dotfiles +# env: +# INSTALL_APPLICATION_IF_READABLE_NAME_MATCH_REGEX: ${{ matrix.applications-to-install }} +# TERM: xterm-256color +# run: ./src/os/setup.sh -y - name: Lint shell files run: ./scripts/lint/shell.sh diff --git a/.github/workflows/manual_trigger_to_install_apps.yml b/.github/workflows/manual_trigger_to_install_apps.yml new file mode 100644 index 000000000..083ad5763 --- /dev/null +++ b/.github/workflows/manual_trigger_to_install_apps.yml @@ -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