diff --git a/.github/workflows/fiat-publish.yml b/.github/workflows/fiat-publish.yml index 085f21452..59964826d 100644 --- a/.github/workflows/fiat-publish.yml +++ b/.github/workflows/fiat-publish.yml @@ -74,13 +74,12 @@ jobs: done sed -e '/components\.java/ s/^#*/\/\//' -i fiat-bom/fiat-bom.gradle - echo "above sed=====" - sed -e 's/NEXUS_URL/${{ secrets.NEXUS_URL }}/' -i settings.gradle - sed -e 's/NEXUS_USERNAME/${{ secrets.NEXUS_USERNAME }}/' -i settings.gradle - sed -e 's/NEXUS_PASSWORD/${{ secrets.NEXUS_PASSWORD }}/' -i settings.gradle - - sed -e 's/NEXUS_USERNAME/${{ secrets.NEXUS_USERNAME }}/' -i build.gradle - sed -e 's/NEXUS_PASSWORD/${{ secrets.NEXUS_PASSWORD }}/' -i build.gradle - sed -e 's/NEXUS_URL/${{ secrets.NEXUS_URL }}/' -i build.gradle - + + sed -e 's|NEXUS_USERNAME|${{ secrets.NEXUS_USERNAME }}|' -i settings.gradle + sed -e 's|NEXUS_PASSWORD|${{ secrets.NEXUS_PASSWORD }}|' -i settings.gradle + sed -e 's|NEXUS_USERNAME|${{ secrets.NEXUS_USERNAME }}|' -i build.gradle + sed -e 's|NEXUS_PASSWORD|${{ secrets.NEXUS_PASSWORD }}|' -i build.gradle + sed -e 's|NEXUS_URL|${{ secrets.NEXUS_URL }}|' -i settings.gradle + sed -e 's|NEXUS_URL|${{ secrets.NEXUS_URL }}|' -i build.gradle + ./gradlew --no-daemon -PenableCrossCompilerPlugin=true publish -x test