This is an automated email from the ASF dual-hosted git repository.

rantunes pushed a commit to branch jit-executor-10
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-apps.git


The following commit(s) were added to refs/heads/jit-executor-10 by this push:
     new 8ea9e9853 Fix jit-executor-rc workflow
8ea9e9853 is described below

commit 8ea9e98534445920b9ea9819c580b114fadca844
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Tue Aug 27 10:18:53 2024 -0300

    Fix jit-executor-rc workflow
---
 .github/workflows/publish-jitexecutor-native-rc.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/publish-jitexecutor-native-rc.yml 
b/.github/workflows/publish-jitexecutor-native-rc.yml
index 8cbfe13cf..0c9a3c6c0 100644
--- a/.github/workflows/publish-jitexecutor-native-rc.yml
+++ b/.github/workflows/publish-jitexecutor-native-rc.yml
@@ -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>
@@ -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>
@@ -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
@@ -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'
@@ -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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to