Skip to content

Commit

Permalink
Welps moving it back
Browse files Browse the repository at this point in the history
  • Loading branch information
benwoo1110 committed Oct 12, 2024
1 parent ff8cb73 commit 546f3cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/generic.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v3

Expand All @@ -38,3 +39,8 @@ 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

- name: Comment Artifact
uses: PicoCentauri/comment-artifact@v0.1.9
with:
name: ${{ inputs.plugin_name }}-pr${{ github.event.pull_request.number }}
15 changes: 3 additions & 12 deletions .github/workflows/pr.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,8 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
pull-requests: write

jobs:
test:
- name: Test
uses: ./.github/workflows/generic.test.yml
with:
plugin_name: multiverse-core

- name: Comment Artifact
uses: PicoCentauri/comment-artifact@v0.1.9
with:
name: ${{ inputs.plugin_name }}-pr${{ github.event.pull_request.number }}
uses: ./.github/workflows/generic.test.yml
with:
plugin_name: multiverse-core

0 comments on commit 546f3cb

Please sign in to comment.