Skip to content

Commit

Permalink
Change test workflow trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
kuler90 committed Nov 13, 2020
1 parent 42fa53d commit c25ca34
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
11 changes: 0 additions & 11 deletions .eslintrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: test
on:
push:
branches:
- "master"
- "**"
paths-ignore:
- "**.md"
jobs:
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# setup-unity

<p align="left">
<a href="https://github.com/kuler90/setup-unity/actions"><img alt="GitHub Actions status" src="https://github.com/kuler90/setup-unity/workflows/test/badge.svg"></a>
<a href="https://github.com/kuler90/setup-unity/actions"><img alt="GitHub Actions status" src="https://github.com/kuler90/setup-unity/workflows/test/badge.svg?branch=master"></a>
</p>

GitHub Action to download and install Unity. Based on Unity Hub.
Expand Down
2 changes: 1 addition & 1 deletion src/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit c25ca34

Please sign in to comment.