run on macos:host, add telegram notifications

This commit is contained in:
Kirill Chikalin
2025-03-21 08:50:14 +03:00
parent 3ef0124dc3
commit 94702a1fd2
2 changed files with 19 additions and 6 deletions

View File

@@ -25,8 +25,7 @@ jobs:
build: build:
name: Build for ${{ matrix.targetPlatform }} name: Build for ${{ matrix.targetPlatform }}
needs: checklicense needs: checklicense
runs-on: runs-on: macos
- ubuntu-latest
container: container:
volumes: volumes:
- /volume1/docker/gitea_actions/act:/volume1/docker/gitea_actions/act - /volume1/docker/gitea_actions/act:/volume1/docker/gitea_actions/act
@@ -36,8 +35,13 @@ jobs:
matrix: matrix:
targetPlatform: targetPlatform:
- Android - Android
- WebGL # - WebGL
steps: steps:
- name: Send Message To Telegram
id: telegram
uses: https://git.chikalin.space/actions/telegram-bot@master
with:
status: 🚀
- name: Set Unity license - name: Set Unity license
run: | run: |
export is_unity_license_set=true export is_unity_license_set=true
@@ -67,5 +71,14 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: Build-${{ matrix.targetPlatform }} name: {{ matrix.targetPlatform }}
path: build path: |
build/*.apk
build/*.aab
build/WebGL/*
- name: Send Job Status to Telegram
id: telegram-result
if: always()
uses: https://git.chikalin.space/actions/telegram-bot@master
with:
delete: ${{ steps.telegram.outputs.message_id }}

View File

@@ -165,7 +165,7 @@ PlayerSettings:
androidMinAspectRatio: 1 androidMinAspectRatio: 1
applicationIdentifier: applicationIdentifier:
Android: com.space.chikalin.textdecal Android: com.space.chikalin.textdecal
Standalone: com.Unity-Technologies.com.unity.template.urp-blank Standalone: com.space.chikalin.textdecal
iPhone: com.Unity-Technologies.com.unity.template.urp-blank iPhone: com.Unity-Technologies.com.unity.template.urp-blank
buildNumber: buildNumber:
Standalone: 0.0.50 Standalone: 0.0.50