diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0a166459..acaa1b7cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -402,6 +402,10 @@ jobs: fi done + - name: Get last commit title from main + id: get_commit_title + run: echo "title=$(git log origin/main -1 --pretty=%s)" >> $GITHUB_ENV + - name: Create Pre-Release on GitHub id: create_release uses: ncipollo/release-action@v1 @@ -411,7 +415,7 @@ jobs: tag: "Pre-release-shadPS4-${{ needs.get-info.outputs.date }}-${{ needs.get-info.outputs.shorthash }}" draft: false prerelease: true - body: ${{ github.event.head_commit.message }} + body: "${{ env.title }}" artifacts: ./artifacts/*.zip - name: Get current pre-release information