Skip to content

Commit

Permalink
actions: enable docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Sep 3, 2024
1 parent 91b1b5f commit 178d074
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,37 +20,37 @@ jobs:
!.git/
if-no-files-found: error

# docs:
# runs-on: ubuntu-latest
# steps:

# - uses: actions/checkout@v4

# - uses: krdlab/setup-haxe@v1
# with:
# haxe-version: 4.2.5

# - name: Set HAXEPATH
# run: |
# echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV

# - name: Install Haxe dependencies
# run: |
# haxelib install lime --quiet
# haxelib install openfl --quiet
# haxelib install dox --quiet
# haxelib dev box2d ${{ github.workspace }}

# - name: Build docs
# working-directory: scripts
# run: |
# haxe docs.hxml

# - uses: actions/upload-artifact@v4
# with:
# name: box2d-docs
# path: docs
# if-no-files-found: error
docs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.2.5

- name: Set HAXEPATH
run: |
echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV
- name: Install Haxe dependencies
run: |
haxelib install lime --quiet
haxelib install openfl --quiet
haxelib install dox --quiet
haxelib dev box2d ${{ github.workspace }}
- name: Build docs
working-directory: scripts
run: |
haxe docs.hxml
- uses: actions/upload-artifact@v4
with:
name: box2d-docs
path: docs
if-no-files-found: error

samples:
needs: package-haxelib
Expand Down

0 comments on commit 178d074

Please sign in to comment.