Skip to content

Commit

Permalink
ARCH needs to be defined (any value should do), make addon build logs…
Browse files Browse the repository at this point in the history
… available
  • Loading branch information
wenzeslaus committed Feb 20, 2025
1 parent f03a23c commit 48bb113
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: 3.12
python-version: "3.12"
cache: pip

- name: Create installation directory
Expand Down Expand Up @@ -110,6 +110,7 @@ jobs:
- name: Rebuild keywords
continue-on-error: true
run: |
export ARCH="linux"
export ARCH_DISTDIR="$(grass --config path)"
export TOP_DOCS_DIR="${ARCH_DISTDIR}/docs"
export VERSION_NUMBER="$VERSION"
Expand All @@ -135,3 +136,11 @@ jobs:
name: mkdocs-site
path: ${{ env.MKDOCS_DIR }}/site
retention-days: 3

- name: Make logs available
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
continue-on-error: true
with:
name: grass-addon-build-logs
path: mv addons-build-dir/docs/logs
retention-days: 3

0 comments on commit 48bb113

Please sign in to comment.