Skip to content

Commit

Permalink
chore(ci): bump scripts version
Browse files Browse the repository at this point in the history
  • Loading branch information
alphagocc committed Feb 14, 2024
1 parent 88df7f6 commit eaa41c2
Show file tree
Hide file tree
Showing 13 changed files with 68 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: "Check Clang Format"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: "Install clang-format"
run: |
sudo apt-get update
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cpack-deb-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Check if the workflow has been disabled.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get commit message
id: get_message
run: |
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
shell: bash
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Checking out sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Install build dependencies
Expand All @@ -71,7 +71,7 @@ jobs:
run: |
echo ::set-output name=NAME::$(basename build/LemonLime-*.deb)
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: LemonLime-${{ steps.get_version.outputs.VERSION }}-debian-${{ matrix.distro }}-${{ matrix.build_type }}.deb
path: build/${{ steps.get_package.outputs.NAME }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cpack-deb-ubuntu.yml.bak
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Check if the workflow has been disabled.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get commit message
id: get_message
run: |
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
shell: bash
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Checking out sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install build dependencies
Expand All @@ -75,7 +75,7 @@ jobs:
run: |
echo ::set-output name=NAME::$(basename build/LemonLime-*.deb)
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: LemonLime-${{ steps.get_version.outputs.VERSION }}-ubuntu-${{ matrix.distro }}-${{ matrix.build_type }}.deb
path: build/${{ steps.get_package.outputs.NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hashfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- run: echo "REPOSITORY_NAME=\"$(echo \"$GITHUB_REPOSITORY\" | awk -F / '{print $2}')\"" >> $GITHUB_ENV
shell: bash
- name: Checking out sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: master
- name: Hash File
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linux-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Check if the workflow has been disabled.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get commit message
id: get_message
run: |
Expand All @@ -47,7 +47,7 @@ jobs:
shell: bash
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Checking out sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Install build dependencies
Expand All @@ -74,7 +74,7 @@ jobs:
cd Project_LemonLime
cp ../build/lemon ./
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: LemonLime-linux-x86_64-${{ matrix.build_type }}
path: lemon
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
version: ${{ matrix.qt_ver }}
cached: ${{ steps.MacosCacheQt.outputs.cache-hit }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: macOS - ${{ matrix.qt_version }} - Build preparation - Install Packages
Expand All @@ -59,7 +59,7 @@ jobs:
export PATH=$Qt6_DIR/bin:$PATH
macdeployqt ${targetName}.app -qmldir=. -verbose=1 -dmg
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.targetName }}-Qt${{ matrix.qt_ver }}-${{ matrix.build_type }}-${{ matrix.arch }}.dmg
path: ${{ env.targetName }}.dmg
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
- name: cacheQt
id: MacosCacheQt
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ../Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
key: ${{ runner.os }}-Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
Expand All @@ -46,7 +46,7 @@ jobs:
with:
version: ${{ matrix.qt_ver }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: macOS - ${{ matrix.qt_version }} - Build preparation - Install Packages
Expand All @@ -68,7 +68,7 @@ jobs:
export PATH=$Qt5_DIR/bin:$PATH
macdeployqt ${targetName}.app -qmldir=. -verbose=1 -dmg
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.targetName }}-${{ matrix.build_type }}.dmg
path: ${{ env.targetName }}.dmg
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sourcefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Check if the workflow has been disabled.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get commit message
id: get_message
run: |
Expand All @@ -32,7 +32,7 @@ jobs:
shell: bash
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Checking out sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Create 7z Release
Expand All @@ -41,7 +41,7 @@ jobs:
pathSource: ./
pathTarget: ./Lemon-${{ steps.get_version.outputs.VERSION }}-source-all.7z
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Lemon-${{ steps.get_version.outputs.VERSION }}-source-all.7z
path: Lemon-${{ steps.get_version.outputs.VERSION }}-source-all.7z
Expand Down
41 changes: 20 additions & 21 deletions .github/workflows/watcher_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Watcher for Linux Test

on:
push:
branches: [ "master" ]
paths: [ "unix/**" ]
branches: ["master"]
paths: ["unix/**"]
pull_request:
branches: [ "master" ]
paths: [ "unix/**" ]
branches: ["master"]
paths: ["unix/**"]
workflow_dispatch:

env:
Expand All @@ -21,20 +21,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} unix/test

- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --verbose -C ${{env.BUILD_TYPE}}

- uses: actions/checkout@v4

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} unix/test

- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --verbose -C ${{env.BUILD_TYPE}}
41 changes: 20 additions & 21 deletions .github/workflows/watcher_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Watcher for MacOS Test

on:
push:
branches: [ "master" ]
paths: [ "unix/**" ]
branches: ["master"]
paths: ["unix/**"]
pull_request:
branches: [ "master" ]
paths: [ "unix/**" ]
branches: ["master"]
paths: ["unix/**"]
workflow_dispatch:

env:
Expand All @@ -21,20 +21,19 @@ jobs:
runs-on: macos-13

steps:
- uses: actions/checkout@v3

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} unix/test

- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --verbose -C ${{env.BUILD_TYPE}}

- uses: actions/checkout@v4

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} unix/test

- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --verbose -C ${{env.BUILD_TYPE}}
8 changes: 4 additions & 4 deletions .github/workflows/windows-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
shell: bash
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Checking out sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Install Python 3.9 version
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: "3.9"
architecture: x64
Expand All @@ -59,7 +59,7 @@ jobs:
arch: x64
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ../Qt
key: QtCache-${{ matrix.platform }}-x64-${{ matrix.qt_version }}
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
# 打包zip
Compress-Archive -Path ${{ env.archiveName }} ${{ env.archiveName }}'.zip'
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
env:
archiveName: lemon.${{ steps.get_version.outputs.VERSION }}.Windows-${{ matrix.arch }}
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
shell: bash
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Checking out sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Install Python 3.9 version
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: "3.9"
architecture: ${{ matrix.arch }}
Expand All @@ -60,7 +60,7 @@ jobs:
arch: ${{ matrix.arch }}
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ../Qt
key: QtCache-${{ matrix.platform }}-${{ matrix.arch }}-${{ matrix.qt_version }}
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
# 打包zip
Compress-Archive -Path ${{ env.archiveName }} ${{ env.archiveName }}'.zip'
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
env:
archiveName: lemon.${{ steps.get_version.outputs.VERSION }}.Windows-${{ matrix.arch }}
with:
Expand Down
2 changes: 1 addition & 1 deletion makespec/BUILDVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
252
253

0 comments on commit eaa41c2

Please sign in to comment.