diff --git a/.github/workflows/build.yml b/.github/workflows/build_story_editor_linux.yml similarity index 97% rename from .github/workflows/build.yml rename to .github/workflows/build_story_editor_linux.yml index ff8abe2..9a52d93 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build_story_editor_linux.yml @@ -1,10 +1,10 @@ -name: BuildAndPackage +name: BuildStoryEditor-Linux on: workflow_dispatch: {} - push: - branches: - - main + schedule: + - cron: "0 0 * * *" + env: QT_VERSION: 6.5.1 diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_story_editor_windows.yml similarity index 90% rename from .github/workflows/build_windows.yml rename to .github/workflows/build_story_editor_windows.yml index 8e608a9..06042ac 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_story_editor_windows.yml @@ -3,7 +3,8 @@ name: BuildStoryEditor-Windows on: workflow_dispatch: {} push: - branches: [ master ] + branches: + - main env: QT_VERSION: 6.5.1 @@ -12,6 +13,8 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 + with: + submodules: recursive - uses: ilammy/msvc-dev-cmd@v1 - uses: actions/setup-python@v2 with: @@ -30,7 +33,8 @@ jobs: - name: build working-directory: ./story-editor run : | - mkdir build && cd build + mkdir build + cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=${{ github.workspace }}\Qt\6.5.1\msvc2019_64 -DQT_DIR=${{ github.workspace }}\Qt\6.5.1\msvc2019_64\lib\cmake\Qt6 -G Ninja .. ninja ls