From b5730a29ab15b3044d594271a488646efdbaad0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 18 Sep 2024 08:27:05 +0200 Subject: [PATCH] Fix publish --- .github/workflows/main.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 4931b0112..321c00e6c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -210,7 +210,7 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, url: release.data.upload_url, - name: "print-lib-${{ steps.version.outputs.version }}-sources.jar, + name: "print-lib-${{ steps.version.outputs.version }}-sources.jar", file: fs.readFileSync("./core/build/libs/print-lib-${{ steps.version.outputs.version }}-sources.jar"), headers: { 'X-GitHub-Api-Version': '2022-11-28', @@ -221,15 +221,13 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, url: release.data.upload_url, - name: "print-lib-${{ steps.version.outputs.version }}-javadoc.jar, + name: "print-lib-${{ steps.version.outputs.version }}-javadoc.jar", file: fs.readFileSync("./core/build/libs/print-lib-${{ steps.version.outputs.version }}-javadoc.jar"), headers: { 'X-GitHub-Api-Version': '2022-11-28', 'content-type': 'application/java-archive' }, }); - env: - GIHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} if: startsWith(github.ref, 'refs/tags/') && env.HAS_SECRETS == 'HAS_SECRETS' # Update the documentation