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
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue