Skip to content

Commit d44f97f

Browse files
committed
Hopefully fixed same previous issue
1 parent f658772 commit d44f97f

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/ni-layers.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ on:
4444
schedule:
4545
- cron: "0 0 * * 1" # Once a week at midnight on Monday
4646
push:
47-
branches:
48-
- 'jvukicev/GR-57251'
49-
#paths:
50-
# - '.github/workflows/ni-layers.yml'
47+
paths:
48+
- '.github/workflows/ni-layers.yml'
5149
pull_request:
5250
paths:
5351
- '.github/workflows/ni-layers.yml'
@@ -121,5 +119,5 @@ jobs:
121119
python-version: '${{ env.PYTHON_VERSION }}'
122120
- name: Build layer
123121
run: |
124-
python3 ${{ env.LIBRARY_METADATA_PATH }}/build_layer.py ${{ matrix.coordinates }} ${{ env.GRAALVM_HOME }}/bin/native-image 0
125-
python3 ${{ env.LIBRARY_METADATA_PATH }}/build_layer.py ${{ matrix.coordinates }} ${{ env.GRAALVM_HOME }}/bin/native-image 1
122+
python3 ${{ env.LIBRARY_METADATA_PATH }}/build_layer.py ${{ env.GRAALVM_HOME }}/bin/native-image 0 ${{ matrix.coordinates }}
123+
python3 ${{ env.LIBRARY_METADATA_PATH }}/build_layer.py ${{ env.GRAALVM_HOME }}/bin/native-image 1 ${{ matrix.coordinates }}

vm/tests/gh_workflows/NILayerTests/build_layer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def generate_matrix(path_to_data):
3333
with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
3434
print(f"matrix={json.dumps(matrix)}", file=f)
3535

36-
def build_layer(gav, native_image_path, lib_in_pair):
36+
def build_layer(native_image_path, lib_in_pair, gav):
3737
'''
3838
Builds a native-image layer out of the library, given its GAV coordinates and native-image path.
3939

0 commit comments

Comments
 (0)