-
Notifications
You must be signed in to change notification settings - Fork 7
46 lines (38 loc) · 1.12 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
46
name: Build standalone version
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
build:
name: New Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Aftman
uses: ok-nick/[email protected]
- name: Install Wally dependencies
run: |
wally install
- name: Format code
run: |
stylua src/
stylua tests/
- name: Build standalone
run: |
rojo build standalone.project.json --output ./Standalone.rbxm
- name: Create release
id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
draft: true
generate_release_notes: true
files: |
./Standalone.rbxm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}