Skip to content

Commit

Permalink
Work on CI builds, plus minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg committed Mar 9, 2022
1 parent 3e74542 commit 56de200
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/builds_desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ jobs:
modules: qt5compat qtimageformats qtcharts
cached: 'false'

# Install NSIS
- name: Install NSIS
run: |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
scoop bucket add extras
scoop install nsis
# Install NSIS (already installed in 'windows-2022')
#- name: Install NSIS
# run: |
# Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
# scoop bucket add extras
# scoop install nsis

# Build application
- name: Build application
Expand All @@ -150,6 +150,13 @@ jobs:
run: |
sh deploy_windows.sh -c -p
# Upload ZIP
- name: Upload ZIP
uses: actions/upload-artifact@v2
with:
name: ${{env.EXECUTABLE}}-${{env.VERSION}}-win64.zip
path: ${{env.EXECUTABLE}}-${{env.VERSION}}-win64.zip

# Upload NSIS installer
- name: Upload NSIS installer
uses: actions/upload-artifact@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
build-flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:kde-5.15
image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
name: "Flatpak build"
with:
bundle: watchflower.flatpak
bundle: qmlapptemplate.flatpak
manifest-path: assets/linux/qmlapptemplate.flatpak.yml
cache-key: flatpak-builder-${{ github.sha }}
4 changes: 2 additions & 2 deletions assets/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

lintOptions {
Expand Down
2 changes: 1 addition & 1 deletion qml/components_generic/DataBarCompact.qml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Item {
height: 15
anchors.verticalCenter: textIndicator.verticalCenter
anchors.leftMargin: 8
anchors.left: textIndicator.right
anchors.left: textIndicator.right

color: Theme.colorRed
opacity: (warning && value > -20 && value < limitMin) ? 1 : 0
Expand Down
1 change: 0 additions & 1 deletion qml/components_generic/RoundButtonIcon.qml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ Item {
Behavior on opacity { NumberAnimation { duration: 333 } }
}


////////////////////////////////////////////////////////////////////////////

IconSvg { // contentItem
Expand Down

0 comments on commit 56de200

Please sign in to comment.