From 4b18351948a0af93533ae2f7b72fd0ad9f529003 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Wed, 30 Aug 2023 11:54:07 +0200 Subject: [PATCH] CI: update to Qt 6.5.2 --- .github/workflows/ccpp.yml | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 87b650fb..460b52b9 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -11,7 +11,7 @@ on: types: [ created ] env: - QT_VERSION: '6.4.2' + QT_VERSION: '6.5.2' jobs: Linux: @@ -71,37 +71,6 @@ jobs: title: "Development Build (Flatpak)" files: org.fedoraproject.MediaWriter.flatpak - #Flatpak: - #if: github.event_name == 'release' - #runs-on: ubuntu-latest - #steps: - #- uses: actions/checkout@v1 - #with: - #fetch-depth: 1 - #- name: Install dependencies - #run: | - #sudo apt update - #sudo apt install flatpak flatpak-builder - #- name: Install Flatpak KDE SDK - #run: | - #sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo - #sudo flatpak install --system -y flathub org.kde.Platform//5.15 - #sudo flatpak install --system -y flathub org.kde.Sdk//5.15 - #- name: Build the Flatpak package - #run: | - #TAG_NAME=$(bash ./dist/get-tag-name.sh) - #pushd dist/flatpak - #sudo flatpak-builder --repo=flatpak-repo --force-clean flatpak-build org.fedoraproject.MediaWriter.json - #flatpak build-bundle flatpak-repo org.fedoraproject.MediaWriter.flatpak org.fedoraproject.MediaWriter - #mv org.fedoraproject.MediaWriter.flatpak ../../org.fedoraproject.MediaWriter-$TAG_NAME.flatpak - #popd - #- name: Upload to GitHub - #if: github.event_name == 'release' - #shell: bash - #run: | - #TAG_NAME=$(bash ./dist/get-tag-name.sh) - #bash ./dist/upload-to-github.sh github_api_token=${{ secrets.GITHUB_TOKEN }} tag="$TAG_NAME" filename="org.fedoraproject.MediaWriter-$TAG_NAME.flatpak" - macOS: runs-on: macos-latest steps: @@ -114,19 +83,17 @@ jobs: version: ${{env.QT_VERSION}} modules: qtimageformats - name: Set env (push) - if: github.event_name == 'push' || github.event_name == 'release' + if: github.event_name == 'push' || github.event_name == 'pull_request' run: echo "TAG_NAME=$(git rev-parse HEAD | cut -c 1-8)" >> $GITHUB_ENV - name: Set env (release) if: github.event_name == 'release' run: echo "TAG_NAME=$(bash ./dist/get-tag-name.sh)" >> $GITHUB_ENV - name: Build - if: github.event_name == 'push' || github.event_name == 'release' env: TAG_NAME: ${{ env.TAG_NAME }} run: | bash dist/mac/build.sh build - name: Insert dependencies - if: github.event_name == 'push' || github.event_name == 'release' run: | bash dist/mac/build.sh deps - name: Sign (TBD) @@ -134,7 +101,6 @@ jobs: run: | true # bash dist/mac/build.sh sign - name: Package - if: github.event_name == 'push' || github.event_name == 'release' env: TAG_NAME: ${{ env.TAG_NAME }} run: |