Skip to content

Commit

Permalink
conditional NXT_FILE_ROOTS
Browse files Browse the repository at this point in the history
  • Loading branch information
ImLucasBrown committed Jun 9, 2024
1 parent 356ee0b commit 601d6ea
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,15 @@ jobs:
pip install twine
pip install .
- name: Build package and upload
- name: Set NXT_FILE_ROOTS (if needed)
if: github.repository != 'nxt-dev/nxt'
env:
# Packaging graph expects nxt to be cloned next to nxt_editor
# We hack the file fall backs to trick it into working
# Thepackaging graph expects nxt to be cloned next to nxt_editor
# this is not possible in GHA so we abuse the file fall backs to
# trick it into working
NXT_FILE_ROOTS: '../docs/api_docs'
run: echo "NXT_FILE_ROOTS=$NXT_FILE_ROOTS" >> $GITHUB_ENV

- name: Build package and upload
run: |
python -m nxt.cli -vv exec build/packaging.nxt -s /make_and_test_upload

0 comments on commit 601d6ea

Please sign in to comment.