workflows moved step back down

This commit is contained in:
silverqx
2024-08-10 12:15:40 +02:00
parent e2ce873715
commit 5878eae04b
+10 -7
View File
@@ -260,17 +260,14 @@ jobs:
repository: silverqx/TinyORM-HelloWorld-TinyDrivers
path: HelloWorld-TinyDrivers
# The tom_testdata.exe, FetchContent, and Manual methods below need Qt installed and to be
# accessible on the system
- name: ${{ matrix.qt.name }} prepare environment
run: |
"$env:TINY_QT_ROOT\${{ matrix.qt.version }}\msvc2019_64\bin" >> $env:GITHUB_PATH
# The msvc2022-qt6-drivers.yml workflow calls migrate:fresh and it calls the db:wipe internally,
# so we need a freshly migrated MySQL database, I should use fresh database anyway
# so we need a freshly migrated MySQL database, I should use fresh database anyway.
# Also, added Qt on PATH this wa because I don't want to move the Qt prepare environment
# section up, to avoid interfering with the Vcpkg Manifest method.
- name: Prepare MySQL database
working-directory: E:/dotfiles/bin
run: |
$env:Path = "$env:TINY_QT_ROOT\${{ matrix.qt.version }}\msvc2019_64\bin;" + $env:Path
.\tom_testdata.exe migrate:fresh --database=tinyorm_testdata_tom_mysql --seed --drop-views
env:
DB_MYSQL_CHARSET: ${{ secrets.DB_MYSQL_CHARSET }}
@@ -349,6 +346,12 @@ jobs:
DB_MYSQL_SSL_MODE: ${{ secrets.DB_MYSQL_SSL_MODE }}
DB_MYSQL_USERNAME: ${{ secrets.DB_MYSQL_USERNAME_SELF }}
# The tom_testdata.exe, FetchContent, and Manual methods below need Qt installed and to be
# accessible on the system
- name: ${{ matrix.qt.name }} prepare environment
run: |
"$env:TINY_QT_ROOT\${{ matrix.qt.version }}\msvc2019_64\bin" >> $env:GITHUB_PATH
# Prepare ccache
#
# The TinyORM build in the Manual method and the FetchContent method are using the ccache,