Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue1 #158

Closed
wants to merge 3 commits into from
Closed
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
34 changes: 34 additions & 0 deletions .github/workflows/package-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

name: Python Build
on: push
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
env:
SUPER_SECRET: ${{ secrets.SuperSecret }}
- name: Update pip
run: |
python -m pip install --upgrade pip
- name: Install Poetry
run: |
pip install poetry
poetry install --no-interaction
- name: Pack Build
run: |
poetry build
poetry self add artifacts-keyring
- name: Pack publish
run: |
poetry config repositories.azure https://pkgs.dev.azure.com/takshimizu/_packaging/mySamplePack/pypi/upload/ --local
poetry config http-basic.azure tmp_token ${{ env.SUPER_SECRET }} --local
poetry publish -r azure
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -313,3 +313,15 @@ overgeneral-exceptions= [
"BaseException",
"Exception"
]

[tool.poetry]
name = "mySamplePack"
version = "0.1.0"
description = ""
authors = ["shimizu"]
readme = "README.md"


packages = [
{ include = "src/python_package" }
]
Loading