diff --git a/.github/workflows/generic.test.yml b/.github/workflows/generic.test.yml index d87f0f614..e87f35387 100644 --- a/.github/workflows/generic.test.yml +++ b/.github/workflows/generic.test.yml @@ -13,7 +13,6 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - pull-requests: write steps: - uses: actions/checkout@v3 @@ -35,11 +34,19 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Artifact output - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.plugin_name }}-pr${{ github.event.pull_request.number }} path: build/libs/${{ inputs.plugin_name }}-pr${{ github.event.pull_request.number }}.jar + link: + - runs-on: ubuntu-latest + - permissions: + - contents: read + - pull-requests: write + - steps: + - uses: actions/checkout@v3 + - name: Comment artifact links on PR uses: benwoo1110/artifact-comment-action@test with: