- Tag a commit in the repository with the format of
v*.*.*
for production releases, and a tag ofv*.*.*-qa.*
for QA / test releases. For example,v1.6.2-qa.3
. - Push the tag to origin
- The
release.yml
action should create a draft release, with the game'srbxl
file automatically attached to it. - Add a description to the draft release. Typically this will be release notes.
- Publish the release as either a full release or a pre-release.
- The
deploy.yml
action will deploy the place file to either your production environment or your test environment, depending on the naming of the tag. - Your game is now deployed to the proper environment!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// doing ajax because easy csrf handling w/their middleware lol | |
$.ajax({ | |
method: "POST", | |
url: "https://avatar.roblox.com/v1/avatar/thumbnail-customization", | |
contentType: "application/json", | |
data: JSON.stringify({ | |
"camera": { | |
// Ranges are inclusive. | |
"distanceScale": 1, // 0.5 to 4 | |
"fieldOfViewDeg": 15, // 15 to 45 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local Debug_TabLevel = 0 | |
local function SplitString(inputstr, sep) | |
if sep == nil then | |
sep = "%s" | |
end | |
local t={} | |
for str in string.gmatch(inputstr, "([^"..sep.."]+)") do | |
table.insert(t, str) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lua linting | |
on: | |
push: | |
branches: | |
- 'v*.*.*' | |
- master | |
paths: | |
- 'src/**' | |
pull_request: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Welcome to boatbomber's publish workflow. | |
# You'll need a few things in your GitHub Action secrets for this to work: | |
# - ROBLOSECURITY : A cookie of a Roblox account (used to install Studio for testing) | |
# - RBXID : Another cookie from the account (also used in Studio install) | |
# - PUBLISHCLOUD : A Roblox OpenCloud API key with Write permission in Place Management for your game | |
# This workflow assumes that you have: | |
# - A `foreman.toml` with rojo, selene, run-in-roblox, and darklua | |
# - A `default.project.json` that builds a place file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Creates a circle out of Beams. | |
You can let it use a default Beam object, but you probably want to pass it | |
your own via the BeamObject parameter. | |
local BeamCircle, Attachments, Beams = DrawBeamCircle({ | |
[REQUIRED] | |
CFrame = CFrame of center of circle, | |
Radius = Radius of circle, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Example asset list | |
return{ | |
AssetGroups = { | |
["UIs"] = { | |
"UIs", | |
"ReplicatedFirst.Assets.UIs" | |
}, | |
["Market Assets"] = { | |
"Market_Assets", | |
"ServerStorage.Assets.Market_Assets" |