Skip to content

Commit

Permalink
CI: update to Qt 6.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
grulja committed Aug 30, 2023
1 parent 89db581 commit f91bb3e
Showing 1 changed file with 2 additions and 36 deletions.
38 changes: 2 additions & 36 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
types: [ created ]

env:
QT_VERSION: '6.4.2'
QT_VERSION: '6.5.2'

jobs:
Linux:
Expand Down Expand Up @@ -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:
Expand All @@ -114,27 +83,24 @@ 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)
if: github.event_name == 'release'
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: |
Expand Down

0 comments on commit f91bb3e

Please sign in to comment.