Skip to content

Commit f699bc0

Browse files
committed
Use the correct context.
1 parent 4062f0b commit f699bc0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish_book.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/checkout@v6
3838
with:
3939
sparse-checkout: |
40-
en/${{ jobs.convert.outputs.chm_name }}/book.xml
40+
en/${{ needs.convert.outputs.chm_name }}/book.xml
4141
sparse-checkout-cone-mode: false
4242
path: book
4343

@@ -62,7 +62,7 @@ jobs:
6262
else
6363
if [[ "$file" =~ ^[a-z]{2}/ ]]; then
6464
local lang="${file%%/*}"
65-
echo "${lang}/${{ jobs.convert.outputs.chm_name }}/${file#*/}"
65+
echo "${lang}/${{ needs.convert.outputs.chm_name }}/${file#*/}"
6666
else
6767
if [[ "$file" != */index.html ]]; then
6868
echo "$file"
@@ -84,7 +84,7 @@ jobs:
8484
8585
local source_page_path
8686
87-
local xml_path="book/en/${{ jobs.convert.outputs.chm_name }}/book.xml"
87+
local xml_path="book/en/${{ needs.convert.outputs.chm_name }}/book.xml"
8888
local u="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
8989
local l="abcdefghijklmnopqrstuvwxyz"
9090

0 commit comments

Comments
 (0)