Skip to content

Commit 4b2c441

Browse files
committed
Install the gem from source when running from this repo:
- Otherwise the end to end test uses the released gem.
1 parent bac9d2e commit 4b2c441

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/cibuildgem/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ runs:
1919
steps:
2020
- name: Install cibuildgem
2121
shell: bash
22-
run: "gem install cibuildgem"
22+
run: ${{ github.repository == 'Shopify/cibuildgem' && 'rake install' || 'gem install cibuildgem' }}
23+
working-directory: "${{ github.action_path }}"
2324
- name: "Setup Rake Compiler"
2425
if: "${{ inputs.step == 'compile' }}"
2526
uses: actions/github-script@v8

0 commit comments

Comments
 (0)