File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,14 @@ jobs:
60
60
run : jt build
61
61
62
62
- name : Create archive
63
- run : tar cf truffleruby-jvm.tar truffleruby-jvm
64
- working-directory : build/mxbuild
63
+ run : |
64
+ cd $(dirname $(jt graalvm-home))
65
+ mv $(basename $(jt graalvm-home)) truffleruby-jvm
66
+ tar cf ${{ github.workspace }}/truffleruby-jvm.tar truffleruby-jvm
65
67
- uses : actions/upload-artifact@v2
66
68
with :
67
69
name : truffleruby-jvm
68
- path : build/mxbuild /truffleruby-jvm.tar
70
+ path : ${{ github.workspace }} /truffleruby-jvm.tar
69
71
70
72
build_native :
71
73
name : build native
@@ -104,12 +106,14 @@ jobs:
104
106
run : jt build --env native
105
107
106
108
- name : Create archive
107
- run : tar cf truffleruby-native.tar truffleruby-native
108
- working-directory : build/mxbuild
109
+ run : |
110
+ cd $(dirname $(jt -u native graalvm-home))
111
+ mv $(basename $(jt -u native graalvm-home)) truffleruby-native
112
+ tar cf ${{ github.workspace }}/truffleruby-native.tar truffleruby-native
109
113
- uses : actions/upload-artifact@v2
110
114
with :
111
115
name : truffleruby-native
112
- path : build/mxbuild /truffleruby-native.tar
116
+ path : ${{ github.workspace }} /truffleruby-native.tar
113
117
114
118
fast_specs :
115
119
name : fast specs
Original file line number Diff line number Diff line change @@ -731,6 +731,7 @@ def help
731
731
jt sync continuously synchronize changes from the Ruby source files to the GraalVM build
732
732
jt idea generates IntelliJ projects
733
733
jt format run eclipse code formatter
734
+ jt graalvm-home prints the GraalVM home of the RUBY_SELECTOR
734
735
735
736
you can also put --build or --rebuild in front of any command to build or rebuild first
736
737
@@ -759,6 +760,10 @@ def launcher
759
760
puts ruby_launcher
760
761
end
761
762
763
+ define_method ( :'graalvm-home' ) do
764
+ puts graalvm_home
765
+ end
766
+
762
767
def build ( *options )
763
768
project = options . shift
764
769
case project
You can’t perform that action at this time.
0 commit comments