File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 3737 - run : dotnet test -c Debug ./tests/Ulid.SystemTextJson.Tests
3838
3939 build-unity :
40- if : " (github.event == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:')"
40+ if : " (github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:')"
4141 strategy :
4242 matrix :
4343 unity : ["2019.3.9f1", "2020.1.0b5"]
Original file line number Diff line number Diff line change @@ -134,6 +134,16 @@ jobs:
134134 env :
135135 UNITY_PACKAGE_VERSION : ${{ env.GIT_TAG }}
136136
137+ - name : check all .meta is commited
138+ run : |
139+ if git ls-files --others --exclude-standard -t | grep --regexp='[.]meta$'; then
140+ echo "Detected .meta file generated. Do you forgot commit a .meta file?"
141+ exit 1
142+ else
143+ echo "Great, all .meta files are commited."
144+ fi
145+ working-directory : src/Ulid.Unity
146+
137147 # Store artifacts.
138148 - uses : actions/upload-artifact@v1
139149 with :
You can’t perform that action at this time.
0 commit comments