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:
name: Build for ${{ matrix.targetPlatform }}
needs: checklicense
runs-on:
- ubuntu-latest
runs-on: macos
container:
volumes:
- /volume1/docker/gitea_actions/act:/volume1/docker/gitea_actions/act
@@ -36,8 +35,13 @@ jobs:
matrix:
targetPlatform:
- Android
- WebGL
# - WebGL
steps:
- name: Send Message To Telegram
id: telegram
uses: https://git.chikalin.space/actions/telegram-bot@master
with:
status: 🚀
- name: Set Unity license
run: |
export is_unity_license_set=true
@@ -67,5 +71,14 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Build-${{ matrix.targetPlatform }}
path: build
name: {{ matrix.targetPlatform }}
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 }}