-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 1.11 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
name: Create release draft and build standalone
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: write
jobs:
# Create release draft and build
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/
- name: Build standalone
run: argon build standalone.project.json --output ./Standalone.rbxm
- name: Create release
id: create_release
uses: softprops/[email protected]
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 }}