Fixing docker builds.

This commit is contained in:
realaltffour 2020-04-18 09:37:05 +03:00
parent 0ff220edf7
commit 4fe5071c8d
No known key found for this signature in database
GPG Key ID: 7115CD2AC9A76A56
3 changed files with 5 additions and 6 deletions

View File

@ -33,7 +33,7 @@ jobs:
- name: Build Debuggable Installers
run: |
./buildDocker.sh
./buildArtifacts.sh
./buildArtifacts.sh build
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
with:
@ -47,7 +47,7 @@ jobs:
- name: Build Releasable Installers
run: |
./buildDockerRelease.sh
./buildArtifacts.sh
./buildArtifacts.sh buildRelease
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
with:

View File

@ -1,7 +1,7 @@
#!/bin/bash
mkdir artifacts
cd build
cd $1
find . -name *.deb -exec cp {} ../artifacts \;
find . -name *.rpm -exec cp {} ../artifacts \;
find . -name *.sh -exec cp {} ../artifacts \;
@ -11,7 +11,7 @@ find . -name *.tar.Z -exec cp {} ../artifacts \;
find . -name *.zip -exec cp {} ../artifacts \;
cp install_manifest.txt ../artifacts/
echo $(cat install_manifest.txt) > ../artifacts/uninstall.sh
echo "rm -rf $(cat install_manifest.txt)" > ../artifacts/uninstall.sh
chmod +x ../artifacts/uninstall.sh
cd ..

View File

@ -8,7 +8,6 @@
make -j5 package
make -j5 install
cd ..
[ $1 == "Debug" ] && chmod -R 777 build bin
[ $1 == "Release" ] && chmod -R 777 buildRelease bin