Skip to content

Commit

Permalink
ci: Cut out conda-lock-refresh
Browse files Browse the repository at this point in the history
Couldn't get it to commit
  • Loading branch information
edmundmiller committed Aug 8, 2024
1 parent 04454ea commit 9133247
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/wave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,30 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4

- uses: weiji14/conda-lock-refresh@main
- uses: mamba-org/setup-micromamba@v1
with:
file: "${{ matrix.files }}"
# TODO platform: ["linux-64", "osx-arm64"]
environment-name: conda-lock-env
create-args: >-
python=3.11
conda-lock
mamba
# Print debugging information
# - name: Print debug info
# run: |
# conda-lock --version
# mamba --version
# echo Locking ${{ inputs.file }} file for ${{ inputs.platform }} platform.
# shell: bash -l {0}

# Run conda-lock
- name: Run conda-lock
run: |
rm --force conda-lock.yml
conda-lock lock $MAMBA --file "${{ matrix.files }}" --kind lock --platform linux-64
env:
MAMBA: "--mamba"
shell: bash -l {0}

- name: Commit and push changes
uses: devops-infra/action-commit-push@master
Expand Down

0 comments on commit 9133247

Please sign in to comment.