You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-23 17:26:44 +02:00
Rename exercise template directory and archive.
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -133,7 +133,7 @@ jobs:
|
||||
run: mdbook build
|
||||
|
||||
- name: Zip exercise templates for ${{ matrix.language }} translation
|
||||
run: cd book/exerciser && zip --recurse-paths ../html/exercises.zip exercise-templates/
|
||||
run: cd book/exerciser && zip --recurse-paths ../html/comprehensive-rust-exercises.zip comprehensive-rust-exercises/
|
||||
|
||||
- name: Upload ${{ matrix.language }} translation
|
||||
uses: actions/upload-artifact@v3
|
||||
|
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
run: mdbook build -d book
|
||||
|
||||
- name: Zip exercise templates
|
||||
run: cd book/exerciser && zip --recurse-paths ../html/exercises.zip exercise-templates/
|
||||
run: cd book/exerciser && zip --recurse-paths ../html/comprehensive-rust-exercises.zip comprehensive-rust-exercises/
|
||||
|
||||
- name: Build all translations
|
||||
run: |
|
||||
@ -50,7 +50,7 @@ jobs:
|
||||
MDBOOK_BOOK__LANGUAGE=$po_lang \
|
||||
MDBOOK_OUTPUT__HTML__SITE_URL=/comprehensive-rust/$po_lang/ \
|
||||
mdbook build -d book/$po_lang
|
||||
(cd book/$po_lang/exerciser && zip --recurse-paths ../html/exercises.zip exercise-templates/)
|
||||
(cd book/$po_lang/exerciser && zip --recurse-paths ../html/comprehensive-rust-exercises.zip comprehensive-rust-exercises/)
|
||||
mv book/$po_lang/html book/html/$po_lang
|
||||
echo "::endgroup::"
|
||||
done
|
||||
|
Reference in New Issue
Block a user