Skip to content

Commit

Permalink
Fix extended services release jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Sep 11, 2024
1 parent ca65cd7 commit 3c4e78e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release_build_extended_services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,17 @@ jobs:
"@
Add-Content "$env:WORKDIR_PATH\.m2\settings.xml" $contentToAdd
- name: "Setup Maven settings file"
- name: "Setup Maven settings file (MacOS)"
if: runner.os == 'macOS'
shell: bash
run: |
if [ ${{ runner.os == 'Windows' }} ]; then
SETTINGS_FILE_PATH=${{ github.workspace }}\.m2\settings.xml
else
SETTINGS_FILE_PATH=${{ github.workspace }}/.m2/settings.xml
fi
echo $SETTINGS_FILE_PATH
pnpm -r exec 'bash' '-c' 'echo --settings=test.xml >> .mvn/maven.config'
pnpm -r exec 'bash' '-c' 'echo --settings=${{ github.workspace }}/.m2/settings.xml >> .mvn/maven.config'
- name: "Setup Maven settings file (Windows)"
if: runner.os == 'Windows'
shell: pwsh
run: |
pnpm -r exec Add-Content .\mvn\maven.config '--settings=${{ github.workspace }}\.m2\settings.xml'
- name: "Bootstrap"
id: bootstrap
Expand Down

0 comments on commit 3c4e78e

Please sign in to comment.