Skip to content

Commit

Permalink
Install git
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Aug 10, 2023
1 parent 44b4a10 commit 38a3756
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/NISTtheDocs2Death.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,24 @@ jobs:
- uses: usnistgov/NISTtheDocs2Death@main
with:
docs-folder: docs
pre-build-command: python setup.py version
pre-build-command: >
which git
|| (
(
apt-get -yq update
&& apt-get -yq install git
&& rm -rf /var/lib/apt/lists/*
)
|| (
apk update --no-cache
&& apk add --no-cache git
)
)
&& git config --global --add safe.directory /github/workspace
&& echo "::error::pwd = `pwd`"
&& echo "::error::ls = `ls -al`"
&& echo "::error::which git = `which git`"
&& echo "::error::version before apidoc = `python setup.py version`"
formats: |-
epub
pdf

0 comments on commit 38a3756

Please sign in to comment.