Skip to content

Commit

Permalink
Comment build artifact in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
benwoo1110 committed Oct 13, 2024
1 parent 38f97a8 commit 1547ea8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/generic.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
type: string

jobs:
test:
test-and-artifact:
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -38,3 +38,13 @@ jobs:
with:
name: ${{ inputs.plugin_name }}-pr${{ github.event.pull_request.number }}
path: build/libs/${{ inputs.plugin_name }}-pr${{ github.event.pull_request.number }}.jar

comment-artifact:
needs: test-and-artifact
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: benwoo1110/artifact-comment-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1547ea8

Please sign in to comment.