|
@@ -14,18 +14,19 @@ jobs:
|
|
steps:
|
|
steps:
|
|
- name: checkout
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
uses: actions/checkout@v4
|
|
- - name: Get Date
|
|
|
|
- id: get-date
|
|
|
|
- run: echo "today=$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT
|
|
|
|
- shell: bash
|
|
|
|
- - name: Cache Conda
|
|
|
|
- uses: actions/cache@v4
|
|
|
|
- with:
|
|
|
|
- path: ~/miniconda3
|
|
|
|
- key: ${{ runner.os }}-${{ runner.arch }}-${{ steps.get-date.outputs.today }}-conda-${{ hashFiles('**/environment.yml') }}
|
|
|
|
|
|
+ # - name: Get Date
|
|
|
|
+ # id: get-date
|
|
|
|
+ # run: echo "today=$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT
|
|
|
|
+ # shell: bash
|
|
|
|
+ # - name: Cache Conda
|
|
|
|
+ # uses: actions/cache@v4
|
|
|
|
+ # with:
|
|
|
|
+ # path: ~/miniconda3
|
|
|
|
+ # key: ${{ runner.os }}-${{ runner.arch }}-${{ steps.get-date.outputs.today }}-conda-${{ hashFiles('**/environment.yml') }}
|
|
- name: Setup Miniconda
|
|
- name: Setup Miniconda
|
|
uses: conda-incubator/setup-miniconda@v3
|
|
uses: conda-incubator/setup-miniconda@v3
|
|
with:
|
|
with:
|
|
|
|
+ conda-remove-defaults: true
|
|
auto-update-conda: false
|
|
auto-update-conda: false
|
|
channel-priority: strict
|
|
channel-priority: strict
|
|
activate-environment: central_controller
|
|
activate-environment: central_controller
|