Skip to content

Commit 6f1171b

Browse files
authored
Create unityhub.yml
1 parent 53e2aca commit 6f1171b

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/unityhub.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: UnityHub Installer Download
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '00 23 * * *'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
download_installer:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Download installers
20+
run: |
21+
curl -o UnityHubSetup.exe "https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.exe"
22+
curl -o UnityHubSetup.dmg "https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.dmg"
23+
24+
- name: UnityHub
25+
uses: softprops/action-gh-release@v2
26+
with:
27+
files: |
28+
UnityHubSetup.exe
29+
UnityHubSetup.dmg
30+
tag_name: unityhub

0 commit comments

Comments
 (0)