Skip to content

Commit 01dd1e1

Browse files
committed
Upload unsigned collection
1 parent aa11077 commit 01dd1e1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/generate-unsigned.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ on:
77
pull_request:
88
branches:
99
- "*"
10+
schedule:
11+
- cron: '0 3 * * *' # Runs every day at 3am
1012

1113
jobs:
1214
build:
1315
runs-on: macos-13
1416
steps:
1517
- name: Checkout 🛎
16-
uses: actions/checkout@v3
18+
uses: actions/checkout@v3
1719
- name: Get Package Collection Generator
1820
uses: actions/checkout@v3
1921
with:
@@ -30,3 +32,11 @@ jobs:
3032
with:
3133
name: RealityKit-Package-Collection.json
3234
path: RealityKit-Package-Collection.json
35+
- name: Publish Release
36+
if: github.ref_name == github.event.repository.default_branch
37+
uses: svenstaro/upload-release-action@2.6.0
38+
with:
39+
file: RealityKit-Package-Collection.json
40+
asset_name: RealityKit-Package-Collection-Unsigned.json
41+
tag: main-release
42+

0 commit comments

Comments
 (0)