Skip to content

Commit f4bd931

Browse files
committed
Fix missing binary directory
1 parent 7dfead4 commit f4bd931

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/actions/build-native-images/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: 'native-tools-setup'
22
description: 'Set Up GraalVM Native Image Tools'
33
inputs:
4+
binary-directory:
5+
required: true
46
trace-directory:
57
required: false
68
default: ""
@@ -15,5 +17,5 @@ runs:
1517
if [ "${{ inputs.trace-directory }}" != "" ]; then
1618
export CLASSPATH="`cd ${{ inputs.trace-directory }}/../..; pwd`:${CLASSPATH}"
1719
fi
18-
${{ github.action_path }}/native-images
20+
${{ github.action_path }}/native-images ${{ inputs.binary-directory }}
1921
shell: bash

.github/workflows/native-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ jobs:
142142
path: ${{ inputs.trace-directory }}
143143
- name: "Build Native Images"
144144
uses: ./.github/actions/build-native-images
145+
with:
146+
binary-directory: ${{ inputs.output-directory }}
147+
trace-directory: ${{ inputs.trace ? inputs.trace-directory : '' }}
145148
- name: "Archive Native Images"
146149
uses: actions/upload-artifact@v4
147150
with:

0 commit comments

Comments
 (0)