From 126ae740ee09eee3111b98d8df5de72041329180 Mon Sep 17 00:00:00 2001 From: bd_ Date: Sun, 10 Sep 2023 22:35:47 +0900 Subject: [PATCH] ci: wip --- .github/ProjectRoot/build-docs.sh | 7 ++++--- .github/workflows/gameci.yml | 19 ++++++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/ProjectRoot/build-docs.sh b/.github/ProjectRoot/build-docs.sh index 389eb6a..3cf8d82 100644 --- a/.github/ProjectRoot/build-docs.sh +++ b/.github/ProjectRoot/build-docs.sh @@ -1,8 +1,9 @@ -#!/bin/bash + set -euxo pipefail apt-get -y update apt-get -y install dotnet7 -dotnet tool update -g docfx -ls -l /root/.dotnet/tools \ No newline at end of file +(cd /; dotnet tool update -g docfx) +ls -l /root/.dotnet/tools +ls -l . \ No newline at end of file diff --git a/.github/workflows/gameci.yml b/.github/workflows/gameci.yml index 9ef981f..3b2b5c9 100644 --- a/.github/workflows/gameci.yml +++ b/.github/workflows/gameci.yml @@ -67,6 +67,16 @@ jobs: key: Library-${{ matrix.projectPath }} restore-keys: Library- + - uses: game-ci/unity-builder@v3 + id: docgen + with: + targetPlatform: StandaloneWindows + buildMethod: DocsBuilder.BuildDocs + allowDirtyBuild: true + env: + # meh, just a personal license... + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + - uses: game-ci/unity-test-runner@v3 id: gameci env: @@ -79,15 +89,6 @@ jobs: customParameters: -nographics -assemblyNames Tests targetPlatform: StandaloneWindows - - uses: game-ci/unity-builder@v3 - id: docgen - with: - targetPlatform: StandaloneWindows - buildMethod: DocsBuilder.BuildDocs - allowDirtyBuild: true - env: - # meh, just a personal license... - UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} - uses: actions/upload-artifact@v3 if: always()