File tree Expand file tree Collapse file tree 1 file changed +4
-17
lines changed Expand file tree Collapse file tree 1 file changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -21,25 +21,12 @@ jobs:
2121 - uses : actions/checkout@v4
2222 with :
2323 repository : tardis-sn/tardis_zenodo
24- token : ${{ secrets.GITHUB_TOKEN }}
25-
26- - name : Download Lock File
27- run : wget -q https://raw.githubusercontent.com/tardis-sn/stardis/master/conda-linux-64.lock
28-
29- - name : Generate Cache Key
30- run : |
31- file_hash=$(cat conda-linux-64.lock | shasum -a 256 | cut -d' ' -f1)
32- echo "file_hash=$file_hash" >> "${GITHUB_OUTPUT}"
33- id : cache-environment-key
24+ token : ${{ secrets.BOT_TOKEN }}
3425
35- - uses : mamba-org/setup-micromamba@v2
26+ - name : Setup environment
27+ uses : tardis-sn/tardis-actions/setup-env@main
3628 with :
37- environment-file : conda-linux-64.lock
38- cache-environment-key : ${{ steps.cache-environment-key.outputs.file_hash }}
39- cache-downloads-key : ${{ steps.cache-environment-key.outputs.file_hash }}
40- environment-name : tardis
41- cache-environment : true
42- cache-downloads : true
29+ os-label : " linux-64"
4330
4431 - name : Dump Secret Key
4532 run : echo "$KEY_SECRET_JSON" > key_secret.json
You can’t perform that action at this time.
0 commit comments