Skip to content

Commit

Permalink
Migrate to trusted publishers
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory Bell committed Sep 4, 2024
1 parent 56a8e1f commit 7e0831e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: Upload Python Package

on: push
on:
push:
tags:
- '*'


permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand All @@ -24,7 +27,4 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@releases/v1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ Skip Reason: Skipping this test :)
```

### License
This package is licensed under the Unlicense. Feel free to use it for any purpose commercial or non-commercial.
This package is licensed under the Unlicense. Feel free to use it for any purpose commercial or non-commercial.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ build-backend = "setuptools.build_meta"

[project]
name = "Better-PyUnit-Format"
version = "0.2.0"
authors = [{name = "Gregory Bell", email="[email protected]"}]
version = "0.2.1"
description = "A more readable text output for Python's built in unittest framework"
readme = "README.md"
requires-python = ">=3.5"
requires-python = ">=3.5"

0 comments on commit 7e0831e

Please sign in to comment.