Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wpreimes committed Oct 15, 2024
1 parent 7562d85 commit 92c26ec
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
schedule:
- cron: '0 0 * * *' # daily

env: # Required to upload docker image
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build:
name: py${{ matrix.python-version }}@${{ matrix.os }}
Expand Down Expand Up @@ -55,11 +59,6 @@ jobs:
mkdir -p artifacts
filename=env_py${{ matrix.python-version }}_${{ matrix.os }}.yml
conda env export --no-builds | grep -v "prefix" > artifacts/$filename
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Artifacts-py${{ matrix.python-version }}-${{ matrix.os }}
path: artifacts/*
- name: Install base package and run tests
shell: bash -l {0}
run: |
Expand Down Expand Up @@ -87,6 +86,11 @@ jobs:
python setup.py sdist --dist-dir artifacts/dist
fi
ls artifacts/dist
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Artifacts-py${{ matrix.python-version }}-${{ matrix.os }}
path: artifacts/*

publish-coverage:
name: Publish Coverage 👚
Expand Down

0 comments on commit 92c26ec

Please sign in to comment.