run on macos:host, add telegram notifications
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user