Skip to content

Commit

Permalink
Merge pull request #134 from urbanairship/MOBILE-3924
Browse files Browse the repository at this point in the history
[MOBILE-3924] Update Unity plugin
  • Loading branch information
Ulrico972 authored Mar 14, 2024
2 parents 6da9c43 + 1c617e4 commit 34a2380
Show file tree
Hide file tree
Showing 40 changed files with 5,052 additions and 103 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,32 @@ on: [pull_request]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- iOS # Build an iOS player.
- Android # Build an Android .apk standalone app.

steps:
- uses: actions/checkout@v2

- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 1.8
distribution: 'temurin'
java-version: '11'

- name: Build Docs
run: |
sudo apt-get install doxygen
./gradlew docs:build
# Build
- name: Build project
- name: Build
uses: game-ci/unity-builder@v4
env:
UNITY_USERNAME: ${{ secrets.ULRICH_UNITY_EMAIL }}
UNITY_EMAIL: ${{ secrets.ULRICH_UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.ULRICH_UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.ULRICH_UNITY_SERIAL }}
run: ./scripts/docker_run.sh
with:
targetPlatform: ${{ matrix.targetPlatform }}
13 changes: 11 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
jobs:
plugin:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- iOS # Build an iOS player.
- Android # Build an Android .apk standalone app.

steps:
- uses: actions/checkout@v2

Expand All @@ -32,11 +39,13 @@ jobs:
echo ::set-output name=NOTES::"$NOTES"
- name: Build
uses: game-ci/unity-builder@v4
env:
UNITY_USERNAME: ${{ secrets.ULRICH_UNITY_EMAIL }}
UNITY_EMAIL: ${{ secrets.ULRICH_UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.ULRICH_UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.ULRICH_UNITY_SERIAL }}
run: ./scripts/docker_run.sh
with:
targetPlatform: ${{ matrix.targetPlatform }}

- name: Create Github Release
uses: actions/[email protected]
Expand Down
12 changes: 10 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Ll]ogs/
[Aa]rtifacts/
[Cc]odeCoverage/
Packages/packages-lock.json
Assets/Editor/Editor/
UserSettings/

*/bin/*
*/jar/*
Expand All @@ -16,5 +22,7 @@ reports/
*.iml
.idea/
.gradle
build/
unity-classes.jar
*/build/*
!build/*.unitypackage
unity-classes.jar
*.meta
Loading

0 comments on commit 34a2380

Please sign in to comment.