Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrico972 committed Dec 21, 2023
1 parent e2a718e commit 346ee70
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,16 @@ jobs:
with:
targetPlatform: ${{ matrix.targetPlatform }}

- uses: actions/upload-artifact@v3
with:
name: Build
path: build

- name: check directory
if: always()
run: |
ls /BlankProject/
ls -R build/
ls -R /opt/
- name: generate unity package
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def getUnityExePath() {
if (unityExe == null || unityExe.isEmpty() || !file(unityExe).exists()) {
unityExe = "/Applications/Unity/Hub/Editor/$airshipProperties.unityVersion/Unity.app/Contents/MacOS/Unity"
} else {
unityExe = "/opt/unity/editors/Editor/Unity"
unityExe = "/opt/unity/Editor/Unity"
}

if (unityExe == null || unityExe.isEmpty() || !file(unityExe).exists()) {
Expand Down
2 changes: 1 addition & 1 deletion unity-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def getUnityClassesPath() {
if (path == null || path.isEmpty() || !file(path).exists()) {
path = "/Applications/Unity/Hub/Editor/$airshipProperties.unityVersion/PlaybackEngines/AndroidPlayer/Variations/mono/Release/Classes/classes.jar"
} else {
path = "/opt/unity/Editor/PlaybackEngines/AndroidPlayer/Variations/mono/Release/Classes/classes.jar"
path = "/opt/unity/Editor/Data/PlaybackEngines/AndroidPlayer/Variations/mono/Release/Classes/classes.jar"
}

return path
Expand Down

0 comments on commit 346ee70

Please sign in to comment.