-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (26 loc) · 871 Bytes
/
hub.yml
File metadata and controls
33 lines (26 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: UnityHub Installer Download
on:
workflow_dispatch:
schedule:
- cron: '00 23 * * *'
permissions:
contents: write
jobs:
download_installer:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: 下载Unity Hub安装介质
run: |
curl -o UnityHubSetup.exe "https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.exe"
curl -o UnityHubSetup.dmg "https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.dmg"
curl -o UnityHubSetupBeta-arm64.dmg "https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetupBeta-arm64.dmg"
- name: 发布Unity Hub
uses: softprops/action-gh-release@v2
with:
files: |
UnityHubSetup.exe
UnityHubSetup.dmg
UnityHubSetupBeta-arm64.dmg
tag_name: unityhub