-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (43 loc) · 1.16 KB
/
publish.yaml
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: Publish
on:
push:
tags:
- 'v*'
jobs:
build:
name: Publish Weaver
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install Rokit
uses: kalrnlo/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Wally
shell: bash
run: |
wally login --token "$WALLY_AUTH"
wally publish
env:
WALLY_AUTH: ${{ secrets.WALLY_AUTH }}
- name: Build and Publish to Roblox
shell: bash
run: rojo build default.project.json -o .lune/Weaver.rbxm
- name: Publish Module to Marketplace
shell: bash
run: |
cd .lune
lune run build.luau
env:
LUNE_AUTH: ${{ secrets.LUNE_AUTH }}
- name: Get Version
id: get_version
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Package Release
uses: softprops/action-gh-release@v1
with:
name: Release ${{ steps.get_version.outputs.VERSION }}
fail_on_unmatched_files: true
files: |
.lune/Weaver.rbxm