diff --git a/README.md b/README.md index 8c200e4..615a8a6 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ jobs: fetch-depth: 1 - name: Publish packages - uses: udondan/jsii-publish@v0.8.1 + uses: udondan/jsii-publish@v0.8.2 with: VERSION: ${{ steps.get_version.outputs.VERSION }} BUILD_SOURCE: true @@ -74,33 +74,33 @@ jobs: fetch-depth: 1 - name: Build source - uses: udondan/jsii-publish@v0.8.1 + uses: udondan/jsii-publish@v0.8.2 with: VERSION: ${{ steps.get_version.outputs.VERSION }} BUILD_SOURCE: true - name: Build packages - uses: udondan/jsii-publish@v0.8.1 + uses: udondan/jsii-publish@v0.8.2 with: BUILD_PACKAGES: true - name: Publish to npm - uses: udondan/jsii-publish@v0.8.1 + uses: udondan/jsii-publish@v0.8.2 with: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish to PyPI - uses: udondan/jsii-publish@v0.8.1 + uses: udondan/jsii-publish@v0.8.2 with: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} - name: Publish to NuGet - uses: udondan/jsii-publish@v0.8.1 + uses: udondan/jsii-publish@v0.8.2 with: NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }} - name: Publish to Maven GitHub - uses: udondan/jsii-publish@v0.8.1 + uses: udondan/jsii-publish@v0.8.2 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: ${{ github.repository }} @@ -120,7 +120,7 @@ docker run -it \ --env NUGET_TOKEN \ --env GITHUB_TOKEN \ --env GITHUB_REPOSITORY="${OWNER}/${REPOSITORY}" \ - udondan/jsii-publish:0.8.1 + udondan/jsii-publish:0.8.2 ``` The package code can be mounted to any location in the container. Just make sure you set the workdir to the same value. In the example above I use `/workdir`. diff --git a/VERSION b/VERSION index 6f4eebd..100435b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.8.1 +0.8.2 diff --git a/action.yml b/action.yml index 9e99940..07f2618 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ branding: color: orange runs: using: docker - image: docker://udondan/jsii-publish:0.8.1 + image: docker://udondan/jsii-publish:0.8.2 inputs: BUILD_SOURCE: description: Indicates if the source should be build (tsc) diff --git a/scripts/publish/maven b/scripts/publish/maven index be79113..c243b8e 100644 --- a/scripts/publish/maven +++ b/scripts/publish/maven @@ -25,7 +25,7 @@ upload() { cmd=(curl -X PUT) cmd+=("https://maven.pkg.github.com/${GITHUB_REPOSITORY:-}/${file}") cmd+=(-H "'Authorization: token ${GITHUB_TOKEN:-}'") - cmd+=(--upload-file "${file}" --fail) + cmd+=(--upload-file "${file}" --fail --silent --show-error) if [[ "${DEBUG}" = true ]]; then cmd+=(-vvv) fi