Skip to content

Commit 4a9eec5

Browse files
committed
Upload an archive of Java sources for TruffleRuby to copy
1 parent 5782d74 commit 4a9eec5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,15 @@ jobs:
199199
bundler-cache: true
200200
- name: Run Java Loader test
201201
run: PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS=1 PRISM_JAVA_BACKEND=truffleruby bundle exec rake compile
202+
- name: Archive sources for TruffleRuby
203+
run: |
204+
jar --create --file java/prism-truffleruby-sources.jar -C java/api/src/main/java `ls -r java/api/src/main/java`
205+
jar --update --file java/prism-truffleruby-sources.jar -C java/api/src/main/java-templates `ls -r java/api/src/main/java-templates`
206+
jar --update --file java/prism-truffleruby-sources.jar -C java/native/src/main/java-templates `ls -r java/native/src/main/java-templates`
207+
- uses: actions/upload-artifact@v7
208+
with:
209+
name: truffleruby-sources
210+
path: java/prism-truffleruby-sources.jar
202211

203212
lex-ruby:
204213
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)