mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-02-06 20:46:37 +01:00
CI/doc/lua: Do everything in the checked out repo
This commit is contained in:
parent
8f973e9a48
commit
b1588a58c2
1 changed files with 5 additions and 6 deletions
11
.github/workflows/lcat.yml
vendored
11
.github/workflows/lcat.yml
vendored
|
@ -30,13 +30,12 @@ jobs:
|
||||||
# run: sudo apt remove needrestart && sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev protobuf-compiler xwayland libegl-dev liblua5.4-dev libdisplay-info-dev
|
# run: sudo apt remove needrestart && sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev protobuf-compiler xwayland libegl-dev liblua5.4-dev libdisplay-info-dev
|
||||||
- name: Generate docs
|
- name: Generate docs
|
||||||
run: |
|
run: |
|
||||||
mv ./lcat ..
|
cd ./lcat
|
||||||
cd ../lcat
|
cargo run -- --dir "../api/lua"
|
||||||
cargo run -- --dir "../pinnacle/api/lua"
|
|
||||||
- name: Push classes
|
- name: Push classes
|
||||||
uses: cpina/github-action-push-to-another-repository@main
|
uses: cpina/github-action-push-to-another-repository@main
|
||||||
with:
|
with:
|
||||||
source-directory: "../lcat/lcat_out/classes"
|
source-directory: "./lcat/lcat_out/classes"
|
||||||
destination-github-username: "pinnacle-comp"
|
destination-github-username: "pinnacle-comp"
|
||||||
destination-repository-name: "lua-reference"
|
destination-repository-name: "lua-reference"
|
||||||
target-branch: main
|
target-branch: main
|
||||||
|
@ -44,7 +43,7 @@ jobs:
|
||||||
- name: Push aliases
|
- name: Push aliases
|
||||||
uses: cpina/github-action-push-to-another-repository@main
|
uses: cpina/github-action-push-to-another-repository@main
|
||||||
with:
|
with:
|
||||||
source-directory: "../lcat/lcat_out/aliases"
|
source-directory: "./lcat/lcat_out/aliases"
|
||||||
destination-github-username: "pinnacle-comp"
|
destination-github-username: "pinnacle-comp"
|
||||||
destination-repository-name: "lua-reference"
|
destination-repository-name: "lua-reference"
|
||||||
target-branch: main
|
target-branch: main
|
||||||
|
@ -52,7 +51,7 @@ jobs:
|
||||||
- name: Push enums
|
- name: Push enums
|
||||||
uses: cpina/github-action-push-to-another-repository@main
|
uses: cpina/github-action-push-to-another-repository@main
|
||||||
with:
|
with:
|
||||||
source-directory: "../lcat/lcat_out/enums"
|
source-directory: "./lcat/lcat_out/enums"
|
||||||
destination-github-username: "pinnacle-comp"
|
destination-github-username: "pinnacle-comp"
|
||||||
destination-repository-name: "lua-reference"
|
destination-repository-name: "lua-reference"
|
||||||
target-branch: main
|
target-branch: main
|
||||||
|
|
Loading…
Add table
Reference in a new issue