From 178d0743565d65c8ad8e95c2b33b4f4a913d1d17 Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Tue, 3 Sep 2024 15:57:49 -0700 Subject: [PATCH] actions: enable docs build --- .github/workflows/main.yml | 62 +++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3084f9c..d51362e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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