diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 07a3fba..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "env": { - "commonjs": true, - "node": true - }, - "extends": "eslint:recommended", - "parserOptions": { - "ecmaVersion": 12 - }, - "rules": {} -} \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc508f9..ddda6f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: test on: push: branches: - - "master" + - "**" paths-ignore: - "**.md" jobs: @@ -40,7 +40,7 @@ jobs: - name: Setup unity id: setup-unity uses: ./ - timeout-minutes: 30 + timeout-minutes: 60 with: unity-version: ${{ matrix.unity-version }} unity-modules: ${{ matrix.unity-module }} diff --git a/README.md b/README.md index 587390a..4cb9c96 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # setup-unity
GitHub Action to download and install Unity. Based on Unity Hub. diff --git a/src/setup.js b/src/setup.js index d867d60..c912c5f 100644 --- a/src/setup.js +++ b/src/setup.js @@ -164,7 +164,7 @@ async function findVersionChangeset(unityVersion) { async function executeHub(unityHubPath, args) { if (process.platform === 'linux') { - return await execute(`xvfb-run --auto-servernum "${unityHubPath}" --no-sandbox --headless ${args}`); + return await execute(`xvfb-run --auto-servernum "${unityHubPath}" --headless ${args}`); } else if (process.platform === 'darwin') { return await execute(`"${unityHubPath}" -- --headless ${args}`); } else if (process.platform === 'win32') {