Skip to content

Commit 073f310

Browse files
semantic-release-botmob-sakai
authored andcommitted
fix: fix release workflow
1 parent 42a6254 commit 073f310

File tree

4 files changed

+28
-9
lines changed

4 files changed

+28
-9
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ jobs:
1717
- uses: actions/checkout@v2
1818

1919
- run: |
20-
npm i https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
20+
npm i --no-save https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
2121
npx semantic-release -e @mob-sakai/semantic-release-upm
2222
env:
2323
GITHUB_TOKEN: ${{ github.token }}
24+
25+
- run: cat package.json
26+
27+
- run: ls

.github/workflows/unity-test.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Secrets
22
# ULF_REPO: Git repository url contains ulf files. https://mob-sakai:{{token}}@github.com/mob-sakai/ulfs.git
3-
# WORKING_DIR: Unity project path (default: '.')
43
name: unity-test
54

65
on:
@@ -21,10 +20,14 @@ jobs:
2120
- uses: actions/checkout@v2
2221

2322
- run: |
24-
npm i https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
23+
npm i --no-save https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
2524
npx semantic-release -e @mob-sakai/semantic-release-upm --dry-run --debug --branches develop
2625
env:
2726
GITHUB_TOKEN: ${{ github.token }}
27+
28+
- run: cat package.json
29+
30+
- run: ls
2831

2932
unity-test:
3033
strategy:
@@ -113,13 +116,19 @@ jobs:
113116
working-directory: Packages/dev
114117
run: git checkout ${{ github.head_ref }}
115118

116-
# Build editor tests
119+
# Run playmode tests
117120
- name: "Build editor tests"
118121
if: always() && steps.activation.conclusion == 'success'
119122
run: |
120123
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
121-
/opt/Unity/Editor/Unity -batchmode -nographics -silent-crashes -logFile -projectPath . -runEditorTests \
122-
|| [ -e ./editor_unittest.xml ] && exit 0 || exit 1
124+
/opt/Unity/Editor/Unity -batchmode -nographics -silent-crashes -logFile -projectPath . -runTests -testPlatform playmode || exit 0
125+
126+
# Run editmode tests
127+
- name: "Build editor tests"
128+
if: always() && steps.activation.conclusion == 'success'
129+
run: |
130+
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
131+
/opt/Unity/Editor/Unity -batchmode -nographics -silent-crashes -logFile -projectPath . -runTests -testPlatform editmode || exit 0
123132
124133
# Push test results
125134
- name: Push test results

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# [1.2.0](https://github.com/mob-sakai/CSharpCompilerSettingsForUnity/compare/1.1.1...1.2.0) (2020-10-22)
2+
3+
4+
### Features
5+
6+
* add nullable option ([9bc0b85](https://github.com/mob-sakai/CSharpCompilerSettingsForUnity/commit/9bc0b858e27dfb6da561404336389064a35c2cf8)), closes [#5](https://github.com/mob-sakai/CSharpCompilerSettingsForUnity/issues/5)
7+
18
## [1.1.1](https://github.com/mob-sakai/CSharpCompilerSettingsForUnity/compare/v1.1.0...v1.1.1) (2020-10-13)
29

310

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
"name": "com.coffee.csharp-compiler-settings",
33
"displayName": "C# Compiler Settings",
44
"description": "Change the C# compiler (csc) used in your Unity project, as you like!",
5-
"version": "1.1.1",
5+
"version": "1.2.0",
66
"unity": "2018.3",
77
"license": "MIT",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/mob-sakai/CSharpCompilerSettingsForUnity.git"
1111
},
12-
"author": "mob-sakai <sakai861104@gmail.com> (https://github.com/mob-sakai)",
13-
"dependencies": {}
12+
"author": "mob-sakai <sakai861104@gmail.com> (https://github.com/mob-sakai)"
1413
}

0 commit comments

Comments
 (0)