We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67a9019 commit 49545f3Copy full SHA for 49545f3
.github/workflows/build_workflow.yml
@@ -10,6 +10,29 @@ on:
10
workflow_dispatch:
11
12
jobs:
13
+ update-conda:
14
+ if: ${{ github.event_name != 'push' }}
15
+ runs-on: ubuntu-latest
16
+ defaults:
17
+ run:
18
+ shell: bash -l {0}
19
+ timeout-minutes: 5
20
+ steps:
21
+ - uses: actions/checkout@v2
22
+ with:
23
+ persist-credentials: false
24
+ fetch-depth: 0
25
+
26
+ - name: Cache Conda
27
+ uses: actions/cache@v4
28
+ env:
29
+ # Increase this value to reset cache if conda-env/docs.yml has not changed in the workflow
30
+ CACHE_NUMBER: 0
31
32
+ path: ~/conda_pkgs_dir
33
+ key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
34
+ hashFiles('conda-env/docs.yml') }}
35
36
publish-docs:
37
if: ${{ github.event_name == 'push' }}
38
runs-on: ubuntu-latest
0 commit comments