Skip to content

Commit

Permalink
Change default target to s01.oss.sonatype.org
Browse files Browse the repository at this point in the history
- Fixes #4
  • Loading branch information
jvalkeal committed Mar 14, 2024
1 parent bdcf0ee commit 70232ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A GitHub action for deploying to a Maven Central.
| `release-timeout` | How long in seconds to wait slow nexus release operation, defaults to "600" | Optional |
| `generate-checksums` | Generate checksums, defaults to "false" | Optional |
| `generate-checksums-config` | Config to generate checksum files. | Optional |
| `url` | Base Nexus url, defaults to "https://oss.sonatype.org" | Optional |
| `url` | Base Nexus url, defaults to "https://s01.oss.sonatype.org" | Optional |
| `upload` | Upload files, defaults to "false". | Optional |
| `upload-parallel` | How many files are uploaded parallel, defaults to "1" | Optional |
| `nexus-timeout` | How long in seconds to wait http requests to nexus, defaults to "0" meaning no timeout | Optional |
Expand Down
2 changes: 1 addition & 1 deletion src/nexus-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function run() {
const releaseAutoDrop =
inputNotRequired('release-auto-drop') === 'false' ? false : true
const releaseTimeout = numberValue(inputNotRequired('release-timeout'), 600)
const url = inputNotRequired('url') || 'https://oss.sonatype.org'
const url = inputNotRequired('url') || 'https://s01.oss.sonatype.org'
const dir = inputNotRequired('dir') || 'nexus'
const generateChecksums =
inputNotRequired('generate-checksums') === 'true' ? true : false
Expand Down

0 comments on commit 70232ff

Please sign in to comment.