Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install -U pip
pip install poetry

poetry run pip install twine

- name: Build and publish
env:
TWINE_USERNAME: "__token__"
TWINE_PASWOD: ${{ secrets.PYPI_TOKEN }}
run: |
poetry build -v
poetry run twine uploada dist/*
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@
name = "asff"
version = "0.1.0"
description = "asff is a Python library to work with Amazon Security Finding Format"
license = "BSD-3-Clause"
authors = ["Adam Števko <adam.stevko@gmail.com>"]
maintainers = ["Adam Števko <adam.stevko@gmail.com>"]
readme = "README.md"
homepage = "https://github.com/xen0l/python-asff"
repository = "https://github.com/xen0l/python-asff"
documentation = "https://python-asff.readthedocs.io/"
keywords = [ "security", "aws", "asff", "secuityhub" ]
classifiers = [
"License :: OSI Approved :: BSD License",
"Topic :: Security",
]

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/xen0l/python-asff/issues"

[tool.poetry.dependencies]
python = "^3.6.1"
Expand Down