diff --git a/.github/workflows/cache_setup.yml b/.github/workflows/cache_setup.yml index 74d9c45c..f24e6da0 100644 --- a/.github/workflows/cache_setup.yml +++ b/.github/workflows/cache_setup.yml @@ -2,7 +2,7 @@ name: cache on: # Triggers the workflow on push but only for the main branch - workflow_call + workflow_call: jobs: cache: diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 9f490503..c579e511 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -6,12 +6,11 @@ on: branches: [ workflow_trials ] jobs: + call-cache: + uses: ./.github/workflows/cache_setup.yml documentation: runs-on: ubuntu-latest - steps: - - name: cache - uses: ./.github/workflows/cache_setup.yml - name: Export requirements.txt run: poetry export --without-hashes --format=requirements.txt -o docs/requirements.txt -E docs -E notebook # - name: Commit changes