From 236e83b5fe68a27790c10a0d707b6578c3d6095d Mon Sep 17 00:00:00 2001 From: Xin Han Date: Sat, 25 Jun 2022 01:45:19 +0800 Subject: [PATCH] git action --- .github/workflows/inne-CI.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/inne-CI.yml b/.github/workflows/inne-CI.yml index 11a5031..e86c6d0 100644 --- a/.github/workflows/inne-CI.yml +++ b/.github/workflows/inne-CI.yml @@ -2,18 +2,18 @@ name: inne CI on: push: - branches: [ master ] + branches: [master] tags: - - '[0-9]+.[0-9]+.[0-9]+' + - "[0-9]+.[0-9]+.[0-9]+" pull_request: - branches: [ master ] + branches: [master] jobs: test: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.6' ,'3.8', '3.9', '3.10' ] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 @@ -55,7 +55,7 @@ jobs: uses: actions/setup-python@v1 with: python-version: 3.8 - + - name: Install pypa/build run: >- python -m @@ -71,8 +71,9 @@ jobs: --wheel --outdir dist/ . - + - name: Publish distribution to Test PyPI + if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@master with: password: ${{ secrets.TEST_PYPI_API_TOKEN }}