Skip to content

Commit

Permalink
Merge pull request #3423 from mapfish/fix-publish
Browse files Browse the repository at this point in the history
Fix publish
  • Loading branch information
sbrunner authored Sep 18, 2024
2 parents 4bc69c6 + b5730a2 commit e10b0c6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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
Expand Down

0 comments on commit e10b0c6

Please sign in to comment.