generated from PhoenixEntertainment/SystemPackageTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 1.34 KB
/
release.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
name : System Release
on:
push:
tags:
- 'v*'
jobs:
release:
name: Create system release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
- name: Setup foreman
uses: rojo-rbx/setup-foreman@62bc697705339a6049f74c9d0ff6d39cffc993e5
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |
wally install --project-path Client/
- name: Build system components
run: |
rojo build Client/standalone.project.json --output LightingSystem_Client.rbxm
- name: Create release
id: create_release
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: true
- name: Upload system client component
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: LightingSystem_Client.rbxm
asset_name: LightingSystem_Client_${{ github.ref_name }}.rbxm
asset_content_type: application/octet-stream