Compare commits
No commits in common. "0.1.0.dev1" and "main" have entirely different histories.
0.1.0.dev1
...
main
3 changed files with 15 additions and 8 deletions
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
|
|
@ -1,20 +1,18 @@
|
|||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: Use hatch-version-action
|
||||
name: CI
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the "main" branch
|
||||
push:
|
||||
branches: [ "*" ]
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
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
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
|
|
@ -26,4 +24,12 @@ jobs:
|
|||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- 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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
# Hatch Version Action Example
|
||||
|
||||
|
||||
[](https://pypi.org/project/hatch-version-action-example)
|
||||
[](https://pypi.org/project/hatch-version-action-example)
|
||||
|
||||
-----
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2022-present Waylon S. Walker <waylon@waylonwalker.com>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
__version__ = '0.1.0.dev2'
|
||||
__version__ = '0.0.1'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue