Compare commits

...

5 commits

Author SHA1 Message Date
autobump
e9573692fc Bump version: 0.1.0.dev0 → 0.1.0.dev1 2022-09-01 17:33:13 +00:00
7160ef5eae
only install hatch in action 2022-09-01 12:32:39 -05:00
autobump
e2c7e739d5 Bump version: 0.0.1 → 0.1.0.dev0 2022-09-01 16:06:59 +00:00
4c2fd06989
run on all branches 2022-09-01 11:01:20 -05:00
1472fd978d
remove badges 2022-09-01 11:00:05 -05:00
3 changed files with 7 additions and 14 deletions

View file

@ -6,13 +6,15 @@ name: CI
on: on:
# Triggers the workflow on push or pull request events but only for the "main" branch # Triggers the workflow on push or pull request events but only for the "main" branch
push: push:
branches: [ "main" ] branches: [ "*" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.pypi_token }}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel # A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: jobs:
# This workflow contains a single job called "build" # This workflow contains a single job called "build"
@ -24,12 +26,4 @@ jobs:
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4.2.0
with:
python-version: '3.10'
- run: pip install hatch
- uses: waylonwalker/hatch-version-action@v1 - uses: waylonwalker/hatch-version-action@v1

View file

@ -1,7 +1,6 @@
# Hatch Version Action Example # Hatch Version Action Example
[![PyPI - Version](https://img.shields.io/pypi/v/hatch-version-action-example.svg)](https://pypi.org/project/hatch-version-action-example)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hatch-version-action-example.svg)](https://pypi.org/project/hatch-version-action-example)
----- -----

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-present Waylon S. Walker <waylon@waylonwalker.com> # SPDX-FileCopyrightText: 2022-present Waylon S. Walker <waylon@waylonwalker.com>
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
__version__ = '0.0.1' __version__ = '0.1.0.dev1'