Skip to content

Commit

Permalink
DEV: use GitHub Actions to build wheels (+ dependabot) (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntessore committed Jan 31, 2023
1 parent ee560b5 commit 54aea6a
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pipx run build
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz
15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: publish
on:
release:
types:
- published
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pipx run build
- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_token }}

0 comments on commit 54aea6a

Please sign in to comment.