Skip to content

Commit

Permalink
Fixed broken await-artifact action (#165)
Browse files Browse the repository at this point in the history
* Fixed broken await-artifact action

* fix lint

---------

Co-authored-by: Victor Martinez <[email protected]>
  • Loading branch information
JonasKunz and v1v authored Nov 18, 2024
1 parent bb56cc4 commit edfde04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea/
.vscode/
node_modules/
.DS_Store
4 changes: 2 additions & 2 deletions maven/await-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
if: ${{ inputs.sonatype-central == 'true' }}
shell: bash
run: |
TIME=30
WAIT_SECONDS=30
full_url="https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=${GROUP_ID}&a=${ARTIFACT_ID}&v=${VERSION}"
until curl -fs -I -L "${full_url}" > /dev/null
do
Expand All @@ -44,7 +44,7 @@ runs:
if: ${{ inputs.maven-central == 'true' }}
shell: bash
run: |
TIME=30
WAIT_SECONDS=30
GROUP_FOLDER="${GROUP_ID//.//}"
full_url="https://repo.maven.apache.org/maven2/${GROUP_FOLDER}/${ARTIFACT_ID}/${VERSION}"
until curl -fs -I -L "${full_url}" > /dev/null
Expand Down

0 comments on commit edfde04

Please sign in to comment.