Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
alionazherdetska committed Feb 17, 2025
1 parent 3de3db1 commit 932dce4
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/dry-publish-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,19 @@ jobs:
- name: Install Dependencies
run: pnpm install

- name: Run Dry Run Publish
run: pnpm -r publish --dry-run
- name: Debug Environment Variables
run: |
echo "GITHUB_REF_NAME: ${{ github.ref_name }}"
echo "GITHUB_HEAD_REF: ${{ github.head_ref }}"
echo "GITHUB_REF: ${{ github.ref }}"
echo "PR Branch Name: ${{ github.event.pull_request.head.ref }}"
- name: Output Summary
id: summary
uses: actions/github-script@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
with:
script: |
return `## Dry Run Publish Results
Expand All @@ -43,5 +47,6 @@ jobs:
- **Trigger:** Pull Request modifying \`main\`
- **Status:** Completed
`
- name: Post Summary
run: echo -e ${{ steps.summary.outputs.result }} >> $GITHUB_STEP_SUMMARY
run: echo -e ${{ steps.summary.outputs.result }} >> $GITHUB_STEP_SUMMARY

0 comments on commit 932dce4

Please sign in to comment.