Skip to content

Commit

Permalink
Merge branch 'master' into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jurplel committed Apr 17, 2020
2 parents fd35d36 + 2d71bc3 commit c6105df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
modules: 'qtcharts qtwebengine'
mirror: 'http://mirrors.ocf.berkeley.edu/qt/'
extra: '--external 7z'
arch: 'win64_mingw73'

- name: Configure test project on windows
if: startsWith(matrix.os, 'windows')
Expand Down
11 changes: 1 addition & 10 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import * as core from '@actions/core';
import * as exec from '@actions/exec';

async function run() {
let tries = 0;
while (true)
{
try {
const dir = (core.getInput("dir") || process.env.RUNNER_WORKSPACE) + "/Qt";
const version = core.getInput("version");
Expand Down Expand Up @@ -99,15 +96,9 @@ async function run() {
core.exportVariable('Qt5_Dir', qtPath); // Incorrect name that was fixed, but kept around so it doesn't break anything
core.exportVariable('Qt5_DIR', qtPath);
core.addPath(qtPath + "/bin");
break;
} catch (error) {
tries++;
if (tries >= 3) {
core.setFailed(error.message);
return;
}
core.setFailed(error.message);
}
}
}

run();

0 comments on commit c6105df

Please sign in to comment.