Skip to content
Merged
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
10 changes: 9 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,17 @@ runs:
echo "GIT_AUTHOR_NAME=${GIT_USER_NAME}" >> $GITHUB_ENV
echo "EMAIL=${GIT_USER_EMAIL}" >> $GITHUB_ENV

- name: Install Craft
# For dogfooding (Craft releasing itself) - local path works because
# the checkout is in the Craft repo, so ./install resolves correctly
- name: Install Craft (local)
if: github.repository == 'getsentry/craft'
uses: ./install

# For external repos - use fully-qualified reference with action ref
- name: Install Craft
if: github.repository != 'getsentry/craft'
uses: getsentry/craft/install@${{ github.action_ref }}

- name: Craft Prepare
id: craft
shell: bash
Expand Down
Loading