From 55d0f21678eae1d7d3ce4ac3f25d4fd5752205ad Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Mon, 16 Feb 2026 16:06:10 +0100 Subject: [PATCH] .github/workflows/Test.yml: another try to fix documentation --- .github/workflows/Test.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index c9bbc4c..6ccf230 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -7,9 +7,8 @@ on: jobs: - doc: - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) runs-on: ubuntu-latest name: '📓 Docs' @@ -38,6 +37,12 @@ jobs: publish_branch: gh-pages keep_files: false + - name: 'Upload docs artifact' + uses: actions/upload-artifact@v4 + with: + name: openFPGALoader-Documentation + path: doc/_build/html + lin-build: strategy: @@ -187,7 +192,7 @@ jobs: Release: if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/')) - needs: [ lin-test, win ] + needs: [ doc, lin-test, win ] runs-on: ubuntu-latest name: '📦 Release' steps: @@ -209,4 +214,4 @@ jobs: with: token: ${{ github.token }} tag: 'nightly' - files: artifact/**/* + files: artifact/**/* \ No newline at end of file