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