Skip to content

Commit

Permalink
split build and release jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCentauri committed Dec 5, 2024
1 parent 6f26472 commit 8575ce8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build

on:
push:
branches: [main]
pull_request:
# Check all PR

jobs:
build:
name: tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python -m pip install tox
- name: Build package
run: tox -e build
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Build and Release
name: Release

on:
push:
branches: [main]
tags: ["*"]
pull_request:
# Check all PR

jobs:
build:
Expand Down

0 comments on commit 8575ce8

Please sign in to comment.