From 924d88a2d3c85043ea11ef08053f9e5289e6a4f3 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Thu, 6 Feb 2025 22:31:32 +0400 Subject: [PATCH] Update book.yml --- .github/workflows/book.yml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 00f7a499..93a3f1e5 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -1,47 +1,50 @@ name: "book" on: -- push + push jobs: - marimo: + setup: runs-on: "ubuntu-latest" + outputs: + environment_ready: ${{ steps.build.outputs.environment_ready }} steps: - name: "Build the virtual environment for ${{ github.repository }}" + id: build uses: cvxgrp/.github/actions/environment@v2.2.1 + - name: "Set up output" + id: set_output + run: echo "environment_ready=true" >> $GITHUB_OUTPUT + + marimo: + runs-on: "ubuntu-latest" + needs: setup + steps: - uses: cvxgrp/.github/actions/marimo@v2.2.1 pdoc: runs-on: "ubuntu-latest" + needs: setup steps: - - name: "Build the virtual environment for ${{ github.repository }}" - uses: cvxgrp/.github/actions/environment@v2.2.1 - - uses: cvxgrp/.github/actions/pdoc@v2.2.1 test: runs-on: "ubuntu-latest" + needs: setup steps: - - name: "Build the virtual environment for ${{ github.repository }}" - uses: cvxgrp/.github/actions/environment@v2.2.1 - - uses: cvxgrp/.github/actions/coverage@v2.2.1 jupyter: runs-on: "ubuntu-latest" + needs: setup steps: - - name: "Build the virtual environment for ${{ github.repository }}" - uses: cvxgrp/.github/actions/environment@v2.2.1 - - uses: cvxgrp/.github/actions/jupyter@v2.2.1 book: runs-on: "ubuntu-latest" needs: [test, pdoc, jupyter, marimo] - permissions: contents: write - steps: - uses: cvxgrp/.github/actions/book@v2.2.1