Skip to content

Commit

Permalink
Add new wfs
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed Aug 21, 2023
1 parent 6be83f0 commit 123cd0f
Show file tree
Hide file tree
Showing 10 changed files with 259 additions and 378 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Check Build

on:
push:
branches: [main]
pull_request:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
cache-dependency-path: "**/pyproject.toml"
- name: Install build dependencies
run: python -m pip install --upgrade pip wheel twine build

- name: Build package
run: python -m build

- name: Check package
run: twine check --strict dist/*.whl
41 changes: 0 additions & 41 deletions .github/workflows/build_package.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/main_master_branch_protection.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/publish_package.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
push:
tags:
- "*.*.*"

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install hatch
run: pip install hatch

- name: Build project for distribution
run: hatch build

- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
145 changes: 0 additions & 145 deletions .github/workflows/run_tests.yml

This file was deleted.

Loading

0 comments on commit 123cd0f

Please sign in to comment.