mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Add GitHub workflow to build rbxm and publish to pesde and wally (#50)
* setup workflow * change versions * fix project json * fix pesde and wally workflow * update pesde toml * wrap tokens ins trings * update versions * ignore lock files
This commit is contained in:
parent
6cf770df4e
commit
86f8574aeb
6 changed files with 126 additions and 1 deletions
33
.github/workflows/build.yml
vendored
Normal file
33
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
name: release
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: setup rokit
|
||||||
|
uses: CompeyDev/setup-rokit@v0.1.2
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
run: rojo build default.project.json -o build.rbxm
|
||||||
|
|
||||||
|
- name: release
|
||||||
|
run: gh release upload ${{github.event.release.tag_name}} build.rbxm
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
53
.github/workflows/wallypesde.yml
vendored
Normal file
53
.github/workflows/wallypesde.yml
vendored
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
name: publish to wally and pesde
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
wally:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: setup rokit
|
||||||
|
uses: CompeyDev/setup-rokit@v0.1.2
|
||||||
|
|
||||||
|
- name: login
|
||||||
|
run: wally login --token "${{ secrets.WALLY_TOKEN }}"
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
run: wally publish
|
||||||
|
|
||||||
|
pesde:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: setup rokit
|
||||||
|
uses: CompeyDev/setup-rokit@v0.1.2
|
||||||
|
|
||||||
|
- name: setup pesde
|
||||||
|
run: pesde install
|
||||||
|
|
||||||
|
- name: login
|
||||||
|
run: pesde auth login --token "${{ secrets.PESDE_TOKEN }}"
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
run: pesde publish --yes
|
||||||
|
|
||||||
|
|
||||||
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -8,3 +8,10 @@ docs/.vitepress/dist
|
||||||
docs/.vitepress/cache
|
docs/.vitepress/cache
|
||||||
docs/node_modules
|
docs/node_modules
|
||||||
docs/package-lock.json
|
docs/package-lock.json
|
||||||
|
|
||||||
|
luau_packages/
|
||||||
|
lune_packages/
|
||||||
|
.pesde/
|
||||||
|
|
||||||
|
wally.lock
|
||||||
|
pesde.lock
|
||||||
23
pesde.toml
Normal file
23
pesde.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
name = "centau/vide"
|
||||||
|
version = "0.4.0"
|
||||||
|
description = "A reactive Luau library for creating UI."
|
||||||
|
authors = ["centau"]
|
||||||
|
repository = "https://github.com/centau/vide"
|
||||||
|
license = "MIT"
|
||||||
|
includes = ["src/*", "README.md", "pesde.toml"]
|
||||||
|
|
||||||
|
[target]
|
||||||
|
environment = "roblox"
|
||||||
|
build_files = ["src"]
|
||||||
|
lib = "src/init.luau"
|
||||||
|
|
||||||
|
[indices]
|
||||||
|
default = "https://github.com/pesde-pkg/index"
|
||||||
|
|
||||||
|
[scripts]
|
||||||
|
roblox_sync_config_generator = ".pesde/scripts/roblox_sync_config_generator.luau"
|
||||||
|
sourcemap_generator = ".pesde/scripts/sourcemap_generator.luau"
|
||||||
|
|
||||||
|
[dev_dependencies]
|
||||||
|
scripts = { name = "pesde/scripts_rojo", version = "^0.1.0", target = "lune" }
|
||||||
|
rojo = { name = "pesde/rojo", version = "^7.4.4", target = "lune" }
|
||||||
9
rokit.toml
Normal file
9
rokit.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
# This file lists tools managed by Rokit, a toolchain manager for Roblox projects.
|
||||||
|
# For more information, see https://github.com/rojo-rbx/rokit
|
||||||
|
|
||||||
|
# New tools can be added by running `rokit add <tool>` in a terminal.
|
||||||
|
|
||||||
|
[tools]
|
||||||
|
pesde = "daimond113/pesde@0.6.0+registry.0.2.0"
|
||||||
|
wally = "upliftgames/wally@0.3.2"
|
||||||
|
rojo = "rojo-rbx/rojo@7.4.4"
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
name = "centau/vide"
|
name = "centau/vide"
|
||||||
description = "A reactive Luau library for creating UI. "
|
description = "A reactive Luau library for creating UI. "
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
version = "0.3.1"
|
version = "0.4.0"
|
||||||
registry = "https://github.com/UpliftGames/wally-index"
|
registry = "https://github.com/UpliftGames/wally-index"
|
||||||
realm = "shared"
|
realm = "shared"
|
||||||
include = ["default.project.json", "LICENSE", "src"]
|
include = ["default.project.json", "LICENSE", "src"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue