build: add build & publish workflow

This commit is contained in:
2026-03-26 00:08:25 -04:00
parent 5e9a190e67
commit 76e828f1f1
3 changed files with 37 additions and 1 deletions
+35
View File
@@ -0,0 +1,35 @@
name: Release
on:
release:
types: [created]
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rokit
uses: CompeyDev/setup-rokit@v0.1.0
- name: Install tools
run: rokit install --no-trust-check
- name: Build rbxm
run: rojo build default.project.json --output rbx-reface.rbxm
- name: Upload rbxm to release
uses: softprops/action-gh-release@v2
with:
files: rbx-reface.rbxm
- name: Publish to Wally
run: |
mkdir -p ~/.wally
echo "[tokens]" > ~/.wally/auth.toml
echo "\"https://api.wally.run/\" = \"${{ secrets.WALLY_AUTH_TOKEN }}\"" >> ~/.wally/auth.toml
wally publish
+1
View File
@@ -4,4 +4,5 @@
# New tools can be added by running `rokit add <tool>` in a terminal.
[tools]
rojo = "rojo-rbx/rojo@7.4.4"
wally = "UpliftGames/wally@0.3.2"
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "secret-rare/rbx-reface"
version = "0.1.0"
version = "0.1.1"
registry = "https://github.com/UpliftGames/wally-index"
realm = "server"