Fixing docker builds.
This commit is contained in:
parent
0ff220edf7
commit
4fe5071c8d
|
@ -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:
|
||||
|
|
|
@ -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 ..
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue