|
@@ -12,7 +12,7 @@ defaults:
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
test:
|
|
test:
|
|
- name: Build and Test
|
|
|
|
|
|
+ name: Compile and Test
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
|
|
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
|
|
steps:
|
|
steps:
|
|
@@ -75,7 +75,7 @@ jobs:
|
|
- name: Archive buildkit-${{ matrix.profile }}.tar.gz
|
|
- name: Archive buildkit-${{ matrix.profile }}.tar.gz
|
|
run: |
|
|
run: |
|
|
cp LICENSE.txt target
|
|
cp LICENSE.txt target
|
|
- cp dist/${{ matrix.launcher }} target
|
|
|
|
|
|
+ cp dist/buildkit/${{ matrix.launcher }} target
|
|
cp target/cryptomator-*.jar target/mods
|
|
cp target/cryptomator-*.jar target/mods
|
|
- name: Upload buildkit-${{ matrix.profile }}
|
|
- name: Upload buildkit-${{ matrix.profile }}
|
|
uses: actions/upload-artifact@v2
|
|
uses: actions/upload-artifact@v2
|
|
@@ -129,8 +129,6 @@ jobs:
|
|
path: runtime
|
|
path: runtime
|
|
if-no-files-found: error
|
|
if-no-files-found: error
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
#
|
|
#
|
|
# Linux AppImage
|
|
# Linux AppImage
|
|
#
|
|
#
|
|
@@ -167,10 +165,10 @@ jobs:
|
|
working-directory: Cryptomator.AppDir
|
|
working-directory: Cryptomator.AppDir
|
|
- name: Patch Cryptomator.AppDir
|
|
- name: Patch Cryptomator.AppDir
|
|
run: |
|
|
run: |
|
|
- cp -r dist/appimage/resources/appimage/AppDir/* Cryptomator.AppDir/
|
|
|
|
|
|
+ cp -r dist/appimage/resources/AppDir/* Cryptomator.AppDir/
|
|
chmod +x Cryptomator.AppDir/runtime/bin/java
|
|
chmod +x Cryptomator.AppDir/runtime/bin/java
|
|
export REVISION_NO=`git rev-list --count HEAD`
|
|
export REVISION_NO=`git rev-list --count HEAD`
|
|
- envsubst '${REVISION_NO}' < dist/appimage/resources/appimage/AppDir/bin/cryptomator.sh > Cryptomator.AppDir/bin/cryptomator.sh
|
|
|
|
|
|
+ envsubst '${REVISION_NO}' < dist/appimage/resources/AppDir/bin/cryptomator.sh > Cryptomator.AppDir/bin/cryptomator.sh
|
|
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/org.cryptomator.Cryptomator.svg
|
|
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/org.cryptomator.Cryptomator.svg
|
|
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/Cryptomator.svg
|
|
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/Cryptomator.svg
|
|
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/.DirIcon
|
|
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/.DirIcon
|