From f80fc2b7ec3c01e36f30c75fc017ed6ec2368b11 Mon Sep 17 00:00:00 2001 From: paytoncain Date: Thu, 4 Apr 2024 22:29:23 -0600 Subject: [PATCH] Update native-image build stage --- .github/workflows/maven.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 14f2b030..375ed27b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -62,16 +62,14 @@ jobs: name: reflection-config - name: Build Executable run: native-image -jar pace-cli-${{ needs.build.outputs.version }}-jar-with-dependencies.jar -H:Name=pace-cli -H:ReflectionConfigurationFiles=native-reflection-configuration.json - - name: Echo OS + - name: Set env vars run: | - echo ${{ env.RUNNER_OS }} - - name: Echo Arch - run: | - echo ${{ env.RUNNER_ARCH }} + echo "os=${RUNNER_OS}" >> $GITHUB_ENV + echo "arch=${RUNNER_ARCH}" >> $GITHUB_ENV - name: Upload Executable uses: actions/upload-artifact@v4 with: - name: pace-cli-${{ env.RUNNER_ARCH }} + name: pace-cli-${{ env.os }}-${{ env.arch }} path: "pace-cli" release: