forked from game-ci/unity-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename builder folder to action folder (unity actions convention)
- Loading branch information
1 parent
d8896dc
commit f3a9841
Showing
43 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
* | ||
|
||
# Files required for the action | ||
!builder/ | ||
!action/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
**/node_modules/** | ||
**/builder/** | ||
**/action/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
name: Tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
@@ -48,7 +48,9 @@ jobs: | |
# - Switch # Build a Nintendo Switch player. | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
with: | ||
lfs: true | ||
- uses: actions/[email protected] | ||
with: | ||
path: ${{ matrix.projectPath }}/Library | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
**/node_modules/** | ||
**/dist/** | ||
**/action/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,7 +122,7 @@ Example: | |
Library- | ||
``` | ||
|
||
This simple could speed up your build by more than 50%. | ||
This simple addition could speed up your build by more than 50%. | ||
|
||
## Complete example | ||
|
||
|
@@ -164,7 +164,9 @@ jobs: | |
- tvOS # Build to Apple's tvOS platform. | ||
- Switch # Build a Nintendo Switch player. | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
with: | ||
lfs: true | ||
- uses: actions/[email protected] | ||
with: | ||
path: ${{ matrix.projectPath }}/Library | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,4 @@ branding: | |
color: 'gray-dark' | ||
runs: | ||
using: 'node12' | ||
main: 'builder/index.js' | ||
main: 'action/index.js' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,12 @@ | |
"name": "unity-builder", | ||
"version": "0.5.0", | ||
"description": "Build Unity projects for different platforms.", | ||
"main": "builder/index.js", | ||
"main": "action/index.js", | ||
"repository": "[email protected]:webbertakken/unity-builder.git", | ||
"author": "Webber <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "ncc build src --out builder --minify", | ||
"build": "ncc build src --out action --minify", | ||
"lint": "prettier --check \"src/**/*.js\" && eslint src", | ||
"test": "jest" | ||
}, | ||
|
@@ -39,7 +39,7 @@ | |
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged && yarn build && git add builder/index.js" | ||
"pre-commit": "lint-staged && yarn build && git add action/index.js" | ||
} | ||
}, | ||
"lint-staged": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters