Skip to content

Commit

Permalink
Merge pull request #1594 from zacharyburnett/fix/fetch_tags
Browse files Browse the repository at this point in the history
fix environment freeze workflow not picking up tag
  • Loading branch information
mfixstsci authored May 28, 2024
2 parents 933977a + 701bc82 commit 6240a98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
name: freeze versions (Python ${{ matrix.python-version }})
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: jwql-${{ runner.os }}-py${{ matrix.python-version }}
Expand All @@ -38,6 +40,8 @@ jobs:
- run: pip list
- id: version
uses: mtkennerly/dunamai-action@v1
with:
args: --strict --pattern "(?P<base>\d+\.\d+\.\d+)"
- id: filename
run: echo "filename=jwql_conda_py${{ matrix.python-version }}_${{ steps.version.outputs.version }}.yml" >> $GITHUB_OUTPUT
- run: conda env export --no-build | grep -v "name:" | grep -v "prefix:" > ${{ steps.filename.outputs.filename }}
Expand Down

0 comments on commit 6240a98

Please sign in to comment.