Skip to content

Commit

Permalink
registry
Browse files Browse the repository at this point in the history
  • Loading branch information
afujiwara-roblox committed Oct 11, 2024
1 parent 674cecc commit 837791a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish Rotriever Package
on:
workflow_dispatch:
jobs:
composite-publish:
runs-on: [self-hosted, generic-linux]
container:
image: docker.artifactory.rbx.com/rbx-lua-build-tools:latest
steps:
- uses: actions/checkout@v4
- name: Generate access token
uses: Roblox-ActionsCache/[email protected]
id: setup_token
with:
app_id: ${{ secrets.TOKENS_APP_LUA_ECOSYSTEM_DEPENDENCIES_ID }}
private_key: ${{ secrets.TOKENS_APP_LUA_ECOSYSTEM_DEPENDENCIES_KEY }}
- name: Get foreman and run foreman install
uses: Roblox/setup-foreman@v3
with:
token: ${{ steps.setup_token.outputs.token }}
allow-external-github-orgs: true
- name: Composite Publish
uses: Roblox/rotriever-registry-workflows/composite-publish@v1
with:
artifactory-token: ${{ secrets.ROBLOX_ARTIFACTORY_CI_PUBLISH_BEARER_TOKEN }}
github-token: ${{ steps.setup_token.outputs.token }}
7 changes: 4 additions & 3 deletions foreman.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[tools]
rojo = { source = "rojo-rbx/rojo", version = "=7.2.1" }
selene = { source = "Kampfkarren/selene", version = "=0.21.1" }
stylua = { source = "JohnnyMorganz/StyLua", version = "=0.15.1" }
rojo = { source = "Roblox/rojo-rbx-rojo", version = "=7.2.1" }
selene = { source = "Roblox/Kampfkarren-selene", version = "=0.21.1" }
stylua = { source = "Roblox/JohnnyMorganz-StyLua", version = "=0.15.1" }
luau-lsp = { source = "JohnnyMorganz/luau-lsp", version = "=1.33.1" }
rotrieve = { source = "roblox/rotriever", version = "0.5.16" }
7 changes: 5 additions & 2 deletions rotriever.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ content_root = "src"
version = "0.5.2"
files = ["*", "!*.spec.lua"]

[config]
registry_index = true

[dependencies]
Roact = "github.com/roblox/roact@1.4"
Rodux = "github.com/roblox/rodux@4.0.0-rc.0"
Roact = { target = "https://github.com/Roblox/roact-alignment", version = "17.1.2", package = "RoactCompat" }
Rodux = { target = "https://github.com/roblox/rodux", version = "3.2.0" }

0 comments on commit 837791a

Please sign in to comment.