Skip to content

Commit a930d42

Browse files
eregonandrykonchin
authored andcommitted
[GR-18163] Fix GitHub Actions CI to create the archive of truffleruby-jvm
PullRequest: truffleruby/4243
2 parents 95c8d7f + b06c989 commit a930d42

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ jobs:
7373

7474
- name: Create archive
7575
run: |
76-
cd $(dirname $(jt ruby-home))
77-
mv $(basename $(jt ruby-home)) truffleruby-jvm
76+
mv "$(jt -u jvm ruby-home)" "${{ github.workspace }}/truffleruby-jvm"
77+
cd ${{ github.workspace }}
7878
tar cf ${{ github.workspace }}/truffleruby-jvm.tar truffleruby-jvm
7979
- uses: actions/upload-artifact@v2
8080
with:
@@ -115,13 +115,9 @@ jobs:
115115

116116
- name: Create archive
117117
run: |
118-
df -h
119118
mv "$(jt -u native ruby-home)" "${{ github.workspace }}/truffleruby-native"
120-
rm -r mxbuild ../graal/sdk/mxbuild
121-
df -h
122119
cd ${{ github.workspace }}
123120
tar cf ${{ github.workspace }}/truffleruby-native.tar truffleruby-native
124-
ls -lh ${{ github.workspace }}/truffleruby-native.tar
125121
- uses: actions/upload-artifact@v2
126122
with:
127123
name: truffleruby-native

0 commit comments

Comments
 (0)