mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-19 10:26:36 +01:00
Attempt to salvage guaranteed-to-fail workflow
This commit is contained in:
parent
f4425e74ce
commit
35e7b73646
5 changed files with 10 additions and 5 deletions
10
.github/workflows/ldoc.yml
vendored
10
.github/workflows/ldoc.yml
vendored
|
@ -41,9 +41,9 @@ jobs:
|
||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: luarocks install ldoc
|
run: luarocks install ldoc
|
||||||
- name: Generate LDoc compatible code
|
- name: Generate LDoc compatible code
|
||||||
run: cd ./ldoc_gen && cargo run -- -p ../api/lua
|
run: mv ldoc_gen .. && cd ../ldoc_gen && cargo run -- -p ../pinnacle/api/lua
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: cd ./ldoc_gen/.ldoc_gen && cp ../../api/lua/ldoc.css ../../api/lua/config.ld . && ldoc . && cd ../..
|
run: cd ../ldoc_gen/.ldoc_gen && cp ../../pinnacle/api/lua/ldoc.css ../../pinnacle/api/lua/config.ld . && ldoc .
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
|
@ -70,12 +70,12 @@ jobs:
|
||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: luarocks install ldoc
|
run: luarocks install ldoc
|
||||||
- name: Generate LDoc compatible code
|
- name: Generate LDoc compatible code
|
||||||
run: cd ./ldoc_gen && cargo run -- -p ../api/lua_grpc
|
run: mv ldoc_gen .. && cd ../ldoc_gen && cargo run -- -p ../pinnacle/api/lua_grpc
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: cd ./ldoc_gen/.ldoc_gen && cp ../../api/lua/ldoc.css ../../api/lua/config.ld . && ldoc . && cd ../..
|
run: cd ../ldoc_gen/.ldoc_gen && cp ../../pinnacle/api/lua/ldoc.css ../../pinnacle/api/lua/config.ld . && ldoc .
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./ldoc_gen/.ldoc_gen/doc
|
publish_dir: ../ldoc_gen/.ldoc_gen/doc
|
||||||
destination_dir: ${{ env.BRANCH_NAME }}/lua_grpc
|
destination_dir: ${{ env.BRANCH_NAME }}/lua_grpc
|
||||||
|
|
|
@ -7,6 +7,7 @@ local pinnacle = {
|
||||||
version = "v0alpha1",
|
version = "v0alpha1",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
---@classmod
|
||||||
---@class Pinnacle
|
---@class Pinnacle
|
||||||
---@field private config_client Client
|
---@field private config_client Client
|
||||||
---@field input Input
|
---@field input Input
|
||||||
|
@ -16,6 +17,7 @@ local pinnacle = {
|
||||||
---@field window Window
|
---@field window Window
|
||||||
local Pinnacle = {}
|
local Pinnacle = {}
|
||||||
|
|
||||||
|
---Quit Pinnacle.
|
||||||
function Pinnacle:quit()
|
function Pinnacle:quit()
|
||||||
self.config_client:unary_request({
|
self.config_client:unary_request({
|
||||||
service = "pinnacle.v0alpha1.PinnacleService",
|
service = "pinnacle.v0alpha1.PinnacleService",
|
||||||
|
|
|
@ -38,6 +38,7 @@ end
|
||||||
---@class OutputHandleModule
|
---@class OutputHandleModule
|
||||||
local output_handle = {}
|
local output_handle = {}
|
||||||
|
|
||||||
|
---@classmod
|
||||||
---@class OutputHandle
|
---@class OutputHandle
|
||||||
---@field private config_client Client
|
---@field private config_client Client
|
||||||
---@field name string The unique name of this output
|
---@field name string The unique name of this output
|
||||||
|
|
|
@ -41,6 +41,7 @@ end
|
||||||
---@class TagHandleModule
|
---@class TagHandleModule
|
||||||
local tag_handle = {}
|
local tag_handle = {}
|
||||||
|
|
||||||
|
---@classmod
|
||||||
---@class TagHandle
|
---@class TagHandle
|
||||||
---@field private config_client Client
|
---@field private config_client Client
|
||||||
---@field id integer
|
---@field id integer
|
||||||
|
|
|
@ -44,6 +44,7 @@ end
|
||||||
---@class WindowHandleModule
|
---@class WindowHandleModule
|
||||||
local window_handle = {}
|
local window_handle = {}
|
||||||
|
|
||||||
|
---@classmod
|
||||||
---@class WindowHandle
|
---@class WindowHandle
|
||||||
---@field private config_client Client
|
---@field private config_client Client
|
||||||
---@field id integer
|
---@field id integer
|
||||||
|
|
Loading…
Reference in a new issue