Skip to content

Commit

Permalink
fix: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot authored and mob-sakai committed Oct 23, 2020
1 parent 42a6254 commit 073f310
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 9 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ jobs:
- uses: actions/checkout@v2

- run: |
npm i https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
npm i --no-save https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
npx semantic-release -e @mob-sakai/semantic-release-upm
env:
GITHUB_TOKEN: ${{ github.token }}
- run: cat package.json

- run: ls
19 changes: 14 additions & 5 deletions .github/workflows/unity-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Secrets
# ULF_REPO: Git repository url contains ulf files. https://mob-sakai:{{token}}@github.com/mob-sakai/ulfs.git
# WORKING_DIR: Unity project path (default: '.')
name: unity-test

on:
Expand All @@ -21,10 +20,14 @@ jobs:
- uses: actions/checkout@v2

- run: |
npm i https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
npm i --no-save https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
npx semantic-release -e @mob-sakai/semantic-release-upm --dry-run --debug --branches develop
env:
GITHUB_TOKEN: ${{ github.token }}
- run: cat package.json

- run: ls

unity-test:
strategy:
Expand Down Expand Up @@ -113,13 +116,19 @@ jobs:
working-directory: Packages/dev
run: git checkout ${{ github.head_ref }}

# Build editor tests
# Run playmode tests
- name: "Build editor tests"
if: always() && steps.activation.conclusion == 'success'
run: |
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
/opt/Unity/Editor/Unity -batchmode -nographics -silent-crashes -logFile -projectPath . -runEditorTests \
|| [ -e ./editor_unittest.xml ] && exit 0 || exit 1
/opt/Unity/Editor/Unity -batchmode -nographics -silent-crashes -logFile -projectPath . -runTests -testPlatform playmode || exit 0
# Run editmode tests
- name: "Build editor tests"
if: always() && steps.activation.conclusion == 'success'
run: |
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
/opt/Unity/Editor/Unity -batchmode -nographics -silent-crashes -logFile -projectPath . -runTests -testPlatform editmode || exit 0
# Push test results
- name: Push test results
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [1.2.0](https://github.com/mob-sakai/CSharpCompilerSettingsForUnity/compare/1.1.1...1.2.0) (2020-10-22)


### Features

* add nullable option ([9bc0b85](https://github.com/mob-sakai/CSharpCompilerSettingsForUnity/commit/9bc0b858e27dfb6da561404336389064a35c2cf8)), closes [#5](https://github.com/mob-sakai/CSharpCompilerSettingsForUnity/issues/5)

## [1.1.1](https://github.com/mob-sakai/CSharpCompilerSettingsForUnity/compare/v1.1.0...v1.1.1) (2020-10-13)


Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
"name": "com.coffee.csharp-compiler-settings",
"displayName": "C# Compiler Settings",
"description": "Change the C# compiler (csc) used in your Unity project, as you like!",
"version": "1.1.1",
"version": "1.2.0",
"unity": "2018.3",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mob-sakai/CSharpCompilerSettingsForUnity.git"
},
"author": "mob-sakai <[email protected]> (https://github.com/mob-sakai)",
"dependencies": {}
"author": "mob-sakai <[email protected]> (https://github.com/mob-sakai)"
}

0 comments on commit 073f310

Please sign in to comment.