Skip to content

CMakeLists.txt: Bump to version v1.5.0 #6147

CMakeLists.txt: Bump to version v1.5.0

CMakeLists.txt: Bump to version v1.5.0 #6147

name: linux-flatpak build
on: [push, pull_request]
env:
BUILD_HOST: ubuntu-latest
USERNAME: github-actions
jobs:
make-flatpak:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Pull the Docker Image
run: docker pull astanea/scopy1-flatpak:1.5.0
- name: Run Docker Image
run: |
$GITHUB_WORKSPACE/CI/appveyor/gen_ci_envs.sh > $GITHUB_WORKSPACE/CI/appveyor/gh-actions.envs
docker run --privileged \
-v `pwd`:$GITHUB_WORKSPACE:rw \
--env-file $GITHUB_WORKSPACE/CI/appveyor/gh-actions.envs \
astanea/scopy1-flatpak:1.5.0 /bin/bash -xe $GITHUB_WORKSPACE/CI/appveyor/inside_flatpak_docker.sh
- uses: actions/upload-artifact@v3
with:
name: Scopy.flatpak
path: ${{ github.workspace }}/Scopy.flatpak
- name: Upload master flatpak build to continous prerelease
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: |
DEPLOY_FILE=Scopy-${GITHUB_SHA::7}.flatpak
ARTIFACT_ARCHIVE=Scopy-flatpak.tar.gz
cp ${{ github.workspace }}/Scopy.flatpak ${DEPLOY_FILE}
tar -czvf ${ARTIFACT_ARCHIVE} ${DEPLOY_FILE}
wget https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz
tar xvf ghr_v0.13.0_linux_amd64.tar.gz
ghr_v0.13.0_linux_amd64/ghr -u ${{ github.repository_owner }} -r scopy -name "Continuous build" -b "Latest succesful master build " -prerelease -debug -replace continous ${ARTIFACT_ARCHIVE}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}