diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..48b4aa6 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,28 @@ +name: Build + +on: + pull_request: + types: opened + push: + branches: + - '**' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install packaging dependencies + run: pip install setuptools wheel twine + + - name: Build Wheel + run: | + pip3 install build && + python3 -m build + + - name: Install + run: | + twine check dist/* && + pip3 install dist/* --force-reinstall diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 073fadb..fd53583 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -24,7 +24,7 @@ jobs: - name: Check wheels run: | twine check dist/* && - pip3 install dist/modular_time_fuzzer-0.0.2-py3-none-any.whl --force-reinstall + pip3 install dist/* --force-reinstall - name: Publish Wheel run: |