Skip to content

Commit

Permalink
[Dependabot配置和GitHub Actions工作流更新]: 添加Dependabot版本更新配置,并更新QtApng和Kima…
Browse files Browse the repository at this point in the history
…geformats工作流

- 添加`.github/dependabot.yml`文件以启用Dependabot版本更新,配置为每周检查一次`github-actions`的依赖项
- 更新`QtApng.yml`工作流,增加对macOS 13和Windows 2019的支持,升级Qt版本至6.8.1,并调整构建架构选项
- 更新`kimageformats.yml`工作流,增加对macOS 13和Windows 2019的支持,升级Qt版本至6.8.1,并调整构建架构选项
- 移除`QtApng.yml`和`kimageformats.yml`工作流中对`master`分支的特定操作,如zip打包和上传到连续发布
- 移除`kimageformats.yml`工作流中的`vcpkgGitCommitId`配置,以使用最新的vcpkg版本
  • Loading branch information
RealChuan committed Dec 18, 2024
1 parent b576d00 commit 63b4ff7
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 48 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
40 changes: 16 additions & 24 deletions .github/workflows/QtApng.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [master]

env:
MACOSX_DEPLOYMENT_TARGET: 12.0

jobs:
build:
runs-on: ${{ matrix.os }}
Expand All @@ -14,22 +17,27 @@ jobs:
include:
- os: ubuntu-20.04
vers: '5.15.2'
- os: ubuntu-latest
vers: '6.8.1'
- os: macos-13
vers: '5.15.2'
- os: windows-2022
- os: macos-13
vers: '6.8.1'
buildArch: 'Universal'
- os: windows-2019
vers: '5.15.2'
arch: 'win32_msvc2019'
buildArch: 'X86'
- os: windows-2022
vers: '6.7.3'
- os: windows-2019
vers: '5.15.2'
arch: 'win64_msvc2019_64'
- os: windows-2022
vers: '6.7.3'
arch: 'win64_msvc2019_arm64'
vers: '6.8.1'
arch: 'win64_msvc2022_64'
- os: windows-2022
vers: '6.8.1'
arch: 'win64_msvc2022_arm64_cross_compiled'
buildArch: 'Arm64'
- os: macos-14
vers: '6.7.3'
buildArch: 'Universal'

steps:
- uses: actions/checkout@v4
Expand All @@ -47,23 +55,7 @@ jobs:
buildArch: ${{ matrix.buildArch }}

- name: 'Upload Artifact'
if: github.ref != 'refs/heads/master'
uses: actions/upload-artifact@v4
with:
name: qtapng-${{ matrix.os }}-${{ matrix.vers }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}
path: QtApng/output

- name: 'Zip Artifact'
if: github.ref == 'refs/heads/master'
uses: thedoctor0/[email protected]
with:
type: 'zip'
path: QtApng/output/
filename: "qtapng-${{ matrix.os }}-${{ matrix.vers }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}.zip"

- name: 'Upload to continous release'
if: github.ref == 'refs/heads/master'
uses: softprops/action-gh-release@v2
with:
tag_name: 'cont'
files: qtapng-*.zip
38 changes: 14 additions & 24 deletions .github/workflows/kimageformats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
VCPKG_BINARY_SOURCES: 'clear;default,readwrite'
MACOSX_DEPLOYMENT_TARGET: 12.0

jobs:
build:
Expand All @@ -17,22 +18,27 @@ jobs:
include:
- os: ubuntu-20.04
vers: '5.15.2'
- os: ubuntu-latest
vers: '6.8.1'
- os: macos-13
vers: '5.15.2'
- os: windows-2022
- os: macos-13
vers: '6.8.1'
buildArch: 'Universal'
- os: windows-2019
vers: '5.15.2'
arch: 'win32_msvc2019'
buildArch: 'X86'
- os: windows-2022
vers: '6.7.3'
- os: windows-2019
vers: '5.15.2'
arch: 'win64_msvc2019_64'
- os: windows-2022
vers: '6.7.3'
arch: 'win64_msvc2019_arm64'
vers: '6.8.1'
arch: 'win64_msvc2022_64'
- os: windows-2022
vers: '6.8.1'
arch: 'win64_msvc2022_arm64_cross_compiled'
buildArch: 'Arm64'
- os: macos-14
vers: '6.7.3'
buildArch: 'Universal'

steps:
- uses: actions/checkout@v4
Expand All @@ -56,23 +62,7 @@ jobs:
buildArch: ${{ matrix.buildArch }}

- name: 'Upload Artifact'
if: github.ref != 'refs/heads/master'
uses: actions/upload-artifact@v4
with:
name: kimageformats-${{ matrix.os }}-${{ matrix.vers }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}
path: kimageformats/output

- name: 'Zip Artifact'
if: github.ref == 'refs/heads/master'
uses: thedoctor0/[email protected]
with:
type: 'zip'
path: kimageformats/output/
filename: "kimageformats-${{ matrix.os }}-${{ matrix.vers }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}.zip"

- name: 'Upload to continous release'
if: github.ref == 'refs/heads/master'
uses: softprops/action-gh-release@v2
with:
tag_name: 'cont'
files: kimageformats-*.zip

0 comments on commit 63b4ff7

Please sign in to comment.