Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
paquiteau committed Sep 30, 2024
1 parent 546b82f commit 98ed0cb
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,9 @@ name: Draft PDF
on:
push:
paths:
- docs/paper-joss/paper.md
- docs/paper-joss/*
- .github/workflows/draft-pdf.yml*

permissions:
pull-requests: write

@@ -28,7 +30,13 @@ jobs:
# paper.md
path: docs/paper-joss/paper.pdf

- name: add link to PR
uses: PicoCentauri/comment-artifact@v1
link:
needs: paper # make sure the artifacts are uploaded first
runs-on: ubuntu-latest
permissions:
contents: write # for commenting on your commit
pull-requests: write # for commenting on your pr
steps:
- uses: beni69/artifact-link@v1
with:
name: paper
token: ${{ github.token }}

1 comment on commit 98ed0cb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Artifacts

Please sign in to comment.