Skip to content

Commit

Permalink
Fix jit-executor-rc workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Aug 27, 2024
1 parent dfefae6 commit 8ea9e98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-jitexecutor-native-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
KOGITO_RUNTIMES_REPO: ${{ github.event.inputs.kogito_runtimes_repository }}
shell: pwsh
run: |
New-Item -Name ".m2" -Path "${WORKDIR_PATH}" -ItemType Directory
New-Item -Name ".m2" -Path "$env:WORKDIR_PATH" -ItemType Directory
$contentToAdd = @"
<settings>
<servers>
Expand All @@ -132,7 +132,7 @@ jobs:
<repository>
<id>apache-kie-kogito-runtimes-staging-repository</id>
<name>Apache KIE Kogito Runtimes Staging Repository</name>
<url>${KOGITO_RUNTIMES_REPO}</url>
<url>$env:KOGITO_RUNTIMES_REPO</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
Expand All @@ -151,7 +151,7 @@ jobs:
</activeProfiles>
</settings>
"@
Add-Content "${WORKDIR_PATH}\.m2\settings.xml" $contentToAdd
Add-Content "$env:WORKDIR_PATH\.m2\settings.xml" $contentToAdd
- name: "Set up JDK 17"
uses: actions/setup-java@v4
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
SETTINGS_FILE_PATH: ${{ github.workspace }}\.m2\settings.xml
run: |
mvn -B -fae -ntp -N -e versions:update-parent -DparentVersion="[${{ steps.version.outputs.PROJECT_VERSION }}]" -DallowSnapshots=true -DgenerateBackupPoms=false -s ${SETTINGS_FILE_PATH}
mvn -B -fae -ntp -N -e versions:update-child-modules -DallowSnapshots=true -DgenerateBackupPoms=false -s ${SETTINGS_FILE_PATH}
mvn -B -fae -ntp -N -e versions:update-child-modules -DallowSnapshots=true -DgenerateBackupPoms=false -s $env:SETTINGS_FILE_PATH
- name: "Build macOS"
if: runner.os == 'macOS' && github.event_name == 'pull_request'
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
env:
SETTINGS_FILE_PATH: ${{ github.workspace }}\.m2\settings.xml
run: |
mvn clean deploy -B -ntp -DdeployAtEnd -DskipTests -pl jitexecutor-native/jitexecutor-native-win32 -am -Pjitexecutor-native -Papache-release -s ${SETTINGS_FILE_PATH}
mvn clean deploy -B -ntp -DdeployAtEnd -DskipTests -pl jitexecutor-native/jitexecutor-native-win32 -am -Pjitexecutor-native -Papache-release -s $env:SETTINGS_FILE_PATH
- name: "Upload JIT Executor binary"
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 8ea9e98

Please sign in to comment.