Skip to content

Commit

Permalink
Testning new action
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Jan 26, 2025
1 parent 56f160c commit 4eb9d62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
#continue-on-error: true

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04, ubuntu-20.04]

steps:

Expand Down
6 changes: 3 additions & 3 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ MainWindow::chkUpdate()
QMessageBox::Yes | QMessageBox::No);
if (reply == QMessageBox::Yes) {
#ifdef WIN32
if (jj.contains("win-x64") && jj["win-x64"].is_number()) {
if (jj.contains("win-x64") && jj["win-x64"].is_string()) {
downloadURL jj["win-x64"].get<std::string>();
}
else {
Expand All @@ -1338,7 +1338,7 @@ MainWindow::chkUpdate()
return;
}
#else
if (jj.contains("linux-x64") && jj["linux-x64"].is_number()) {
if (jj.contains("linux-x64") && jj["linux-x64"].is_string()) {
downloadURL = jj["linux-x64"].get<std::string>();
}
else {
Expand All @@ -1351,7 +1351,7 @@ MainWindow::chkUpdate()
}
#endif
if (CURLE_OK != pworks->downLoadFromURL(downloadURL, downloadPath)) {
// Failed to download version info file
// Failed to download install file
spdlog::error("Failed to download installation file {0} to {1}",
downloadURL,
downloadPath);
Expand Down

0 comments on commit 4eb9d62

Please sign in to comment.