Skip to content

Commit

Permalink
[GHA DEB] Fix path relative path in headless helper
Browse files Browse the repository at this point in the history
We know where GAMA is install, so we can hard-code it and limit future problem
ci release
  • Loading branch information
RoiArthurB committed Apr 28, 2022
1 parent 923f51b commit 4fcef7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/github-travis.yml
Expand Up @@ -266,6 +266,8 @@ jobs:
mv ${{ github.workspace }}/${{ matrix.zipName }}/gama-platform.desktop ${{ github.workspace }}/${{ matrix.zipName }}/usr/share/applications/gama-platform.desktop
cd ${{ github.workspace }}/${{ matrix.zipName }}/opt/gama-platform && unzip ${{ matrix.zipName }}.zip && cd -
rm ${{ github.workspace }}/${{ matrix.zipName }}/opt/gama-platform/*.zip
# Fix relative path as we know where its installed
sed -i "s/\".*\.\/p/\/opt\/gama-platform\/p/g" ${{ github.workspace }}/${{ matrix.zipName }}/opt/gama-platform/headless/gama-headless.sh
- name: Tweaks for package w/ JDK
if: contains(matrix.zipName, 'jdk')
Expand Down

0 comments on commit 4fcef7d

Please sign in to comment.