Skip to content

Commit

Permalink
Update build.yml (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpreimes authored Sep 3, 2024
1 parent a2ca6f2 commit 862f4d8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ jobs:
- name: Export Environment
shell: bash -l {0}
run: |
mkdir -p .artifacts
mkdir -p artifacts
filename=env_py${{ matrix.python-version }}_${{ matrix.os }}.yml
conda env export --no-builds | grep -v "prefix" > .artifacts/$filename
conda env export --no-builds | grep -v "prefix" > artifacts/$filename
- name: Upload Coverage
shell: bash -l {0}
run: |
Expand All @@ -89,17 +89,17 @@ jobs:
then
# build whls on windows
pip install wheel
python setup.py bdist_wheel --dist-dir .artifacts/dist
python setup.py bdist_wheel --dist-dir artifacts/dist
else
# build dist on linux
python setup.py sdist --dist-dir .artifacts/dist
python setup.py sdist --dist-dir artifacts/dist
fi
ls .artifacts/dist
ls artifacts/dist
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Artifacts-py${{ matrix.python-version }}-${{ matrix.os }}
path: .artifacts/*
path: artifacts/*
coveralls:
name: Submit Coveralls 👚
needs: build
Expand Down

0 comments on commit 862f4d8

Please sign in to comment.