Skip to content
Closed
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
12 changes: 11 additions & 1 deletion git-post-store-urls-to-pr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ runs:
steps:
- name: Setup GIT
uses: raycast/github-actions/setup-git@v1.17.0
- name: Extract platforms from package.json
id: extract_platforms
shell: bash
run: |
if [ -f "package.json" ]; then
platforms=$(jq -r '.platforms // ["macOS"] | join(", ")' package.json 2>/dev/null || echo "macOS")
else
platforms="macOS"
fi
echo "platforms=$platforms" >> $GITHUB_OUTPUT
- name: Check message
id: check_message
shell: bash
Expand All @@ -28,6 +38,6 @@ runs:
GITHUB_TOKEN: ${{ inputs.github_token }}
with:
message: |
**Published to the Raycast Store:**
**Published to the Raycast Store:** (${{ steps.extract_platforms.outputs.platforms }})
${{ inputs.store_urls }}
allow-repeats: true