-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
49 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Build and Archive XRNX_Starter_Pack.zip | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
|
||
- name: Build the book | ||
run: | | ||
./generate/build.sh "3.9.3" "" | ||
cargo install mdbook | ||
cargo install mdbook-linkcheck | ||
mdbook build | ||
- name: Create XRNX_Starter_Pack | ||
run: | | ||
mkdir dist | ||
cp -rf book dist/docs | ||
cp -rf tools dist/tools | ||
cd dist && zip -r -q ../XRNX_Starter_Pack.zip . | ||
- name: Archive | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Archive | ||
path: XRNX_Starter_Pack.zip |
This file contains 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