diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..846e916 --- /dev/null +++ b/.github/workflows/publish.yml @@ -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/tibdex-github-app-token@v1.4.0 + 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 }} \ No newline at end of file diff --git a/foreman.toml b/foreman.toml index d7778b8..9b730b8 100644 --- a/foreman.toml +++ b/foreman.toml @@ -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" } \ No newline at end of file diff --git a/rotriever.toml b/rotriever.toml index dd9300c..287ebbe 100644 --- a/rotriever.toml +++ b/rotriever.toml @@ -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" }