Skip to content

Commit

Permalink
[GR-18163] Fix GitHub Actions CI to create the archive of truffleruby…
Browse files Browse the repository at this point in the history
…-jvm

PullRequest: truffleruby/4243
  • Loading branch information
eregon authored and andrykonchin committed Apr 17, 2024
2 parents 95c8d7f + b06c989 commit a930d42
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:

- name: Create archive
run: |
cd $(dirname $(jt ruby-home))
mv $(basename $(jt ruby-home)) truffleruby-jvm
mv "$(jt -u jvm ruby-home)" "${{ github.workspace }}/truffleruby-jvm"
cd ${{ github.workspace }}
tar cf ${{ github.workspace }}/truffleruby-jvm.tar truffleruby-jvm
- uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -115,13 +115,9 @@ jobs:

- name: Create archive
run: |
df -h
mv "$(jt -u native ruby-home)" "${{ github.workspace }}/truffleruby-native"
rm -r mxbuild ../graal/sdk/mxbuild
df -h
cd ${{ github.workspace }}
tar cf ${{ github.workspace }}/truffleruby-native.tar truffleruby-native
ls -lh ${{ github.workspace }}/truffleruby-native.tar
- uses: actions/upload-artifact@v2
with:
name: truffleruby-native
Expand Down

0 comments on commit a930d42

Please sign in to comment.