From 1654dd3db97ac8f6ea86e24b6275bf00f7be0cb0 Mon Sep 17 00:00:00 2001 From: Timofey Date: Sun, 9 May 2021 04:48:30 +0500 Subject: [PATCH] ci release action --- .github/workflows/release.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..1efff8f --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,21 @@ +name: release +on: + push: + tags: + - 'v*.*.*' + +jobs: + package: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.x + - run: pip install poetry + - run: poetry build + - uses: ncipollo/release-action@v1 + with: + artifacts: "dist/*" + token: ${{ secrets.GITHUB_TOKEN }} +