diff --git a/.github/workflows/install-lint-test.yml b/.github/workflows/install-lint-test.yml index e9786efdc..eeb2fd2b5 100644 --- a/.github/workflows/install-lint-test.yml +++ b/.github/workflows/install-lint-test.yml @@ -21,10 +21,10 @@ jobs: steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set Up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..c6e3e9ee9 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,34 @@ +name: Release Distribution on PyPI + +on: + push: + tags: + - '*' + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + python-version: + - 3.11 + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install Poetry + run: python3 -m pip install Poetry --upgrade + + - name: Build Distribution + run: poetry build + + - name: Publish Distribution + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/openssa/VERSION b/openssa/VERSION index 488ef7720..0cbea62b8 100644 --- a/openssa/VERSION +++ b/openssa/VERSION @@ -1 +1 @@ -0.23.12.11.1 +0.23.12.12 diff --git a/pyproject.toml b/pyproject.toml index f8b8c5215..11be14c6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "openssa" -version = "0.23.12.11.1" +version = "0.23.12.12" authors = [ "Aitomatic, Inc. ",