Skip to content
This repository was archived by the owner on Oct 26, 2023. It is now read-only.

Commit 8bf9589

Browse files
authored
Update julia-publish.yml
1 parent cc36f4c commit 8bf9589

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

workflow-templates/julia/julia-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ jobs:
2525
Pkg.develop(PackageSpec(path=pwd()))
2626
Pkg.instantiate()'
2727
- run: |
28+
export MYPACKAGE=${{ github.event.repository.name }} | sed 's/.jl//g'
2829
julia --project=docs -e '
29-
using Documenter: doctest; using MYPACKAGE
30-
doctest(MYPACKAGE)' # change MYPACKAGE to the name of your package
30+
using Documenter: doctest; using ${MYPACKAGE}
31+
doctest(${MYPACKAGE})'
3132
- run: julia --project=docs docs/make.jl
3233
env:
3334
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)