Skip to content

Commit

Permalink
freeze with pip and micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed May 13, 2024
1 parent b4f46c1 commit 68145e0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,17 @@ jobs:
- run: pip list
- id: version
uses: mtkennerly/dunamai-action@v1
- run: echo "filename=jwql_${{ matrix.python-version }}_${{ steps.version.outputs.version }}.txt" >> $GITHUB_OUTPUT
id: output
- run: pip freeze > ${{ steps.output.outputs.filename }}
- run: mkdir envs
- run: pip freeze > envs/jwql_pip_py${{ matrix.python-version }}_${{ steps.version.outputs.version }}.txt
- run: micromamba env export > envs/jwql_conda_py${{ matrix.python-version }}_${{ steps.version.outputs.version }}.yml
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.output.outputs.filename }}
path: ${{ steps.output.outputs.filename }}
name: envs
path: envs/*
- if: (github.event_name == 'release' && github.event.action == 'published')
uses: svenstaro/upload-release-action@v2
with:
file: ${{ steps.output.outputs.filename }}
file: envs/*
file_glob: true


0 comments on commit 68145e0

Please sign in to comment.