Skip to content

Commit

Permalink
Use PR title and description
Browse files Browse the repository at this point in the history
  • Loading branch information
nref committed Oct 28, 2024
1 parent 668f028 commit 871f5ba
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,21 @@ jobs:
- name: Get PR Title
run: |
PR_DESCRIPTION=$(gh pr view $env:PR_URL --json title -q .title)
echo "PR_TITLE=$PR_TITLE" >> $GITHUB_ENV
$title=$(gh pr view $env:PR_URL --json title -q .title)
echo "PR_TITLE=$title" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get PR Description
run: |
PR_DESCRIPTION=$(gh pr view $env:PR_URL --json body -q .body)
echo "PR_DESCRIPTION=$PR_DESCRIPTION" >> $GITHUB_ENV
$description=$(gh pr view $env:PR_URL --json body -q .body)
echo "PR_DESCRIPTION=$description" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build and sign
run: pwsh ./make.ps1

- uses: ncipollo/release-action@v1
with:
artifacts: "./Releases/**/*.zip"
Expand Down

0 comments on commit 871f5ba

Please sign in to comment.