Skip to content

Commit

Permalink
fix: fixed ci build error
Browse files Browse the repository at this point in the history
  • Loading branch information
flylai committed Jul 2, 2024
1 parent eaac13d commit 28a2d4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-plugin-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Kate Text Highlight Plugin Build

on:
push:
branches:
- master
release:
types: published
workflow_dispatch:
Expand Down Expand Up @@ -104,7 +106,7 @@ jobs:
cmake --build .
cd ..
- name: Uploading Artifact
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: text-highlight-plugin-${{ github.sha }}.so
path: build/bin/kf${{ env.QT_MAJOR_VERSION }}/ktexteditor/text-highlight-plugin.so
Expand All @@ -113,6 +115,6 @@ jobs:
if: github.event_name == 'release'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: text-highlight-plugin-${{ github.sha }}.so
file: build/bin/kf${{ env.QT_MAJOR_VERSION }}/ktexteditor/text-highlight-plugin.so
tag: ${{ github.ref }}
overwrite: true
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.16)
set(PROJECT text-highlight-plugin)
project(${PROJECT} VERSION 1.0)

set(CMAKE_CXX_STANDARD 20)

set(KF_DEP_VERSION "${QT_MAJOR_VERSION}")
find_package(ECM ${KF_DEP_VERSION} QUIET REQUIRED NO_MODULE)

Expand Down

0 comments on commit 28a2d4d

Please sign in to comment.