commit b5f969cca5da98b53a553e015d33fad45678e8c2
parent 401d493aa1a7d2d5f6540f8ac5a347c8e51e22fc
Author: minerva-jupitr <ryouturn@gmail.com>
Date: Tue, 22 Apr 2025 16:17:44 +0900
staps commit
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/PRbuild.yaml b/.github/workflows/PRbuild.yaml
@@ -16,12 +16,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload PDF artifact
+ id: artifact-upload-step
uses: actions/upload-artifact@v4
with:
name: main
path: ./main.pdf
- name: Add comment to PR
run: |
- gh pr comment ${{ github.event.number }} -b "PDF artifact is ready!"
+ gh pr comment ${{ github.event.number }} -b "${{ steps.artifact-upload-step.outputs.artifact-url }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file