Skip to content

Commit

Permalink
git action
Browse files Browse the repository at this point in the history
  • Loading branch information
xhan97 committed Jun 24, 2022
1 parent a79ca22 commit 236e83b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/inne-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.8

- name: Install pypa/build
run: >-
python -m
Expand All @@ -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 }}
Expand Down

0 comments on commit 236e83b

Please sign in to comment.