Parcourir la source

Update CI release policy

Jérôme BUISINE il y a 3 ans
Parent
commit
fbab3061e0
2 fichiers modifiés avec 6 ajouts et 3 suppressions
  1. 5 2
      .github/workflows/python-publish.yml
  2. 1 1
      README.md

+ 5 - 2
.github/workflows/python-publish.yml

@@ -11,7 +11,9 @@ jobs:
   deploy:
 
     runs-on: ubuntu-latest
-
+    allow_failure: true
+    only:
+      - tags
     steps:
     - uses: actions/checkout@v2
     - name: Set up Python
@@ -28,4 +30,5 @@ jobs:
         TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
       run: |
         python setup.py sdist bdist_wheel
-        twine upload dist/*
+        twine upload dist/*
+    

+ 1 - 1
README.md

@@ -19,7 +19,7 @@
 - **operators:** mutators, crossovers update of solution. This folder also has `policies` folder to manage the way of update and use solution.
 - **callbacks:** callbacks folder where `Callback` class is available for making callback instructions every number of evaluations.
   
-**Note:** you can pass a custom `validator` function to the algorithm in order to check is solution is always correct for your needs after an update.
+**Note:** you can pass a custom `validator` function to the algorithm in order to check if a solution is always correct for your needs after an update.
 
 ## How to use ?