-
Notifications
You must be signed in to change notification settings - Fork 7
60 lines (46 loc) · 1.32 KB
/
release-development.yaml
File metadata and controls
60 lines (46 loc) · 1.32 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Release Develop
on:
push:
branches:
- develop
paths:
- "src/**/*"
- default.project.json
- mantle.yaml
- package.json
workflow_dispatch:
permissions:
contents: write
packages: write
concurrency:
group: development_environment
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Compile
run: pnpm exec rbxtsc --verbose
- name: Build project
run: rojo build ./default.project.json --output place.rbxlx
- name: Upload place
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
if-no-files-found: error
name: place
path: place.rbxlx
deploy:
needs: build
runs-on: ubuntu-latest
environment: development
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2
- name: Deploy to Roblox
uses: ./.github/actions/deploy
with:
environment: development