Skip to content

Commit

Permalink
Merge pull request #1 from icosa-foundation/feature/icosa-support
Browse files Browse the repository at this point in the history
Working Icosa API support
  • Loading branch information
andybak authored Jul 9, 2024
2 parents 90c202c + 6412d68 commit 796ea29
Show file tree
Hide file tree
Showing 890 changed files with 8,164 additions and 29,768 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# origin https://github.com/adrenak/upm-template/blob/master/.github/workflows/ci.yml
# origin licensed under MIT License Copyright (c) 2020 Vatsal Ambastha
# origin license https://github.com/adrenak/upm-template/blob/master/LICENSE
# you can read more about how to use upm-template at https://github.com/adrenak/upm-template/

name: CI
on:
push:
branches:
- main
jobs:
release:
if: "!contains(github.event.head_commit.message, 'skip ci')"
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Semantic Release
id: semantic
uses: cycjimmy/[email protected]
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create UPM branch
run: |
git config user.name github-actions
git config user.email [email protected]
git branch -d upm &> /dev/null || echo upm branch not found
git subtree split -P "$PKG_ROOT" -b upm
git checkout upm
if [[ -d "Samples" ]]; then
git mv Samples Samples~
rm -f Samples.meta
git commit -am "fix: Samples => Samples~"
fi
git push -f -u origin upm
env:
PKG_ROOT: "Packages/icosa-api-client-unity/"

- name: Create UPM git tag
if: steps.semantic.outputs.new_release_published == 'true'
run: |
git tag $TAG upm
git push origin --tags
env:
TAG: upm/v${{ steps.semantic.outputs.new_release_version }}
96 changes: 66 additions & 30 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,37 +1,73 @@
# Standard unity stuff
/Temp/
/Obj/
/Build/
/Library/

# mono debugging files, automatically created by UnityVS
*.dll.mdb
*.dll.mdb.meta

# MonoDevelop and Visual Studio files, automatically created by Unity
/Assembly-Csharp*.csproj
/Assembly-UnityScript*.unityproj
/*.csproj
/*.csproj.user
/*.CSharp.*user
*.suo
/*.sln
/*.userprefs
/.vs/
# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
#
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Uu]ser[Ss]ettings/

# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
/[Mm]emoryCaptures/

# Recordings can get excessive in size
/[Rr]ecordings/

# PT currently drops files into Poly/, so ignore that temporarily
/Assets/Poly/
/Assets/Poly.meta
# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

/Assets/PolyToolkit/Editor/upgrade.dat
/Assets/PolyToolkit/Editor/upgrade.dat.meta
# Autogenerated Jetbrains Rider plugin
/[Aa]ssets/Plugins/Editor/JetBrains*

.DS_Store
# Visual Studio cache directory
.vs/

# Ignore built unity packages, we don't want to check those in.
# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.aab
*.unitypackage
*.app

# Crashlytics generated file
crashlytics-build.properties

# Packed Addressables
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*

# Don't commit the Asset Store Tools plugin.
/Assets/AssetStoreTools/
/Assets/AssetStoreTools.meta
# Temporary auto-generated Android Assets
/[Aa]ssets/[Ss]treamingAssets/aa.meta
/[Aa]ssets/[Ss]treamingAssets/aa/*
/.idea/*
25 changes: 25 additions & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# origin https://github.com/adrenak/upm-template/blob/master/.releaserc.json
# origin licensed under MIT License Copyright (c) 2020 Vatsal Ambastha
# origin license https://github.com/adrenak/upm-template/blob/master/LICENSE
# you can read more about how to use upm-template at https://github.com/adrenak/upm-template/

tagFormat: v${version}
plugins:
- - '@semantic-release/commit-analyzer'
- preset: angular
- '@semantic-release/release-notes-generator'
- - '@semantic-release/changelog'
- preset: angular
changelogFile: Packages/icosa-api-client-unity/CHANGELOG.MD
- - '@semantic-release/npm'
- npmPublish: false
pkgRoot: Packages/icosa-api-client-unity
- - '@semantic-release/git'
- assets:
- Packages/open-brush-unity-tools/package.json
- Packages/open-brush-unity-tools/CHANGELOG.md
message: |-
chore(release): ${nextRelease.version} [skip ci]
${nextRelease.notes}
- '@semantic-release/github'
41 changes: 0 additions & 41 deletions Assets/Editor/CheckUnityVersion.cs

This file was deleted.

12 changes: 0 additions & 12 deletions Assets/Editor/CheckUnityVersion.cs.meta

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 796ea29

Please sign in to comment.