-
-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (31 loc) · 945 Bytes
/
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
name: Release
on:
push:
tags: [ '*' ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: roblox/setup-foreman@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: List installed foreman tools
run: foreman list
- name: Install Wally packages
run: wally install
- name: Build plugin
run: rojo build default.project.json -o PartToTerrain.rbxm
- name: Get release info
id: get_version
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
# TODO: Look into plugin uploading via Open Cloud when supported.
- name: Create Github release
uses: softprops/action-gh-release@v1
with:
name: ${{ steps.get_version.outputs.VERSION }}
fail_on_unmatched_files: true
files: PartToTerrain.rbxm
draft: true