Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

Commit

Permalink
disabling prgress output for maven uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel.schroeder committed Jan 13, 2020
1 parent 637d373 commit f237f5d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
fetch-depth: 1

- name: Publish packages
uses: udondan/[email protected].1
uses: udondan/[email protected].2
with:
VERSION: ${{ steps.get_version.outputs.VERSION }}
BUILD_SOURCE: true
Expand Down Expand Up @@ -74,33 +74,33 @@ jobs:
fetch-depth: 1

- name: Build source
uses: udondan/[email protected].1
uses: udondan/[email protected].2
with:
VERSION: ${{ steps.get_version.outputs.VERSION }}
BUILD_SOURCE: true

- name: Build packages
uses: udondan/[email protected].1
uses: udondan/[email protected].2
with:
BUILD_PACKAGES: true

- name: Publish to npm
uses: udondan/[email protected].1
uses: udondan/[email protected].2
with:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish to PyPI
uses: udondan/[email protected].1
uses: udondan/[email protected].2
with:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

- name: Publish to NuGet
uses: udondan/[email protected].1
uses: udondan/[email protected].2
with:
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}

- name: Publish to Maven GitHub
uses: udondan/[email protected].1
uses: udondan/[email protected].2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
Expand All @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.1
0.8.2
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish/maven
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f237f5d

Please sign in to comment.