mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Update continuous.yml
This commit is contained in:
parent
feb7ca4516
commit
26872686b9
1 changed files with 2 additions and 1 deletions
3
.github/workflows/continuous.yml
vendored
3
.github/workflows/continuous.yml
vendored
|
@ -37,6 +37,7 @@ jobs:
|
||||||
mv library.bin AppDir/usr/share/leocad/library.bin
|
mv library.bin AppDir/usr/share/leocad/library.bin
|
||||||
- name: Create AppImage
|
- name: Create AppImage
|
||||||
run: |
|
run: |
|
||||||
|
echo start
|
||||||
cp qt/leocad.desktop AppDir/leocad.desktop
|
cp qt/leocad.desktop AppDir/leocad.desktop
|
||||||
cp tools/icon/256x256/apps/leocad.png AppDir/leocad.png
|
cp tools/icon/256x256/apps/leocad.png AppDir/leocad.png
|
||||||
wget -q -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
|
wget -q -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
|
||||||
|
@ -104,7 +105,7 @@ jobs:
|
||||||
- name: Upload Package
|
- name: Upload Package
|
||||||
run: |
|
run: |
|
||||||
curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/leozide/leocad/commits/master -o repo.txt
|
curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/leozide/leocad/commits/master -o repo.txt
|
||||||
export REMOTE=$(ggrep -Po ''(?<=: \")(([a-z0-9])\w+)(?=\")'' -m 1 repo.txt)
|
export REMOTE=$(ggrep -Po '(?<=: \")(([a-z0-9])\w+)(?=\")' -m 1 repo.txt)
|
||||||
export LOCAL=$(git rev-parse HEAD)
|
export LOCAL=$(git rev-parse HEAD)
|
||||||
if [[ "$REMOTE" != "$LOCAL" ]]; then echo "Build no longer current. $REMOTE vs $LOCAL - aborting upload."; exit 0; fi;
|
if [[ "$REMOTE" != "$LOCAL" ]]; then echo "Build no longer current. $REMOTE vs $LOCAL - aborting upload."; exit 0; fi;
|
||||||
export TRAVIS_TAG=$GITHUB_REF_NAME
|
export TRAVIS_TAG=$GITHUB_REF_NAME
|
||||||
|
|
Loading…
Reference in a new issue