-
Notifications
You must be signed in to change notification settings - Fork 203
45 lines (35 loc) · 916 Bytes
/
Copy pathrelease.yml
File metadata and controls
45 lines (35 loc) · 916 Bytes
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: Release
on:
workflow_dispatch:
release:
types: [ published, prereleased ]
permissions:
contents: write
packages: write
jobs:
publish-release:
runs-on: ubuntu-latest
steps:
- name: GitHub Checkout
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@v2.2.4
with:
version: 7.25.1
run_install: true
- name: Setup Aftman
uses: ok-nick/setup-aftman@v0.3.0
- name: Install Rojo, Lune and DarkLua
run: aftman install
- name: Build and Compile
run: |
pnpm run rojo --verbose
- name: Bundle Luau
run: pnpm run bundle
- name: Upload Release Assets
uses: alexellis/upload-assets@0.4.0
env:
ACTIONS_STEP_DEBUG: true
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["dist/main.rbxm", "dist/main.lua"]'