Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/alfie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ on:
branches:
- "main"

workflow_dispatch:
inputs:
run_release:
description: "Run release job"
required: false
default: true
type: boolean

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -118,10 +126,12 @@ jobs:
needs: [setup, unit-tests]
runs-on: macos-15
timeout-minutes: 60
if: github.event_name == 'push'
if: (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.run_release)) && !cancelled()
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Restore Ruby Gems
uses: actions/cache@v4
Expand All @@ -142,7 +152,11 @@ jobs:
restore-keys: |
spm-${{ runner.os }}-

- name: Configure Bundler
- name: Install Homebrew formulas
run: |
brew bundle install

- name: Install Ruby dependencies
run: |
bundle config set --local path 'vendor/bundle'
bundle install --jobs 4 --retry 3
Expand Down
Loading