Skip to content

Commit

Permalink
add build task
Browse files Browse the repository at this point in the history
  • Loading branch information
thht committed Oct 2, 2024
1 parent f1daaff commit 6fff0bb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,21 @@ jobs:
cache: true
locked: false
frozen: false
- run: pixi run -e mne check_types
- run: pixi run -e mne check_types

build:
runs-on: ubuntu-latest
if: { { github.ref ~= '/^refs/tags/v[ 0-9 ]+\.[ 0-9 ]+\.[ 0-9 ]+\.dev[ 0-9 ]+$/' || github.ref ~= '/^refs/tags/v[ 0-9 ]+\.[ 0-9 ]+\.[ 0-9 ]+$/' } }
needs: [test, lint, type_check]
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: latest
cache: true
locked: false
frozen: false
- run: pixi run hatch build
- uses: actions/upload-artifact@v2
with:
name: dist
2 changes: 1 addition & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6fff0bb

Please sign in to comment.