From dc3aa3a8548add1e884bfde4437f870f586f72b5 Mon Sep 17 00:00:00 2001 From: bab2min Date: Tue, 5 Jul 2022 21:08:17 +0900 Subject: [PATCH] fixed workflows --- .github/workflows/deploy.yml | 2 ++ .github/workflows/deploy_test.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3f980f3..abbb879 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,6 +37,8 @@ jobs: mv Kiwi/ModelGenerator/combiningRule.txt model/kiwipiepy_model/ mv Kiwi/ModelGenerator/skipbigram.mdl model/kiwipiepy_model/ + yum install libffi-devel -y + /opt/python/cp38-cp38/bin/python setup.py sdist /opt/python/cp38-cp38/bin/python -m pip install twine wheel /opt/python/cp38-cp38/bin/python -m twine upload dist/*.tar.gz diff --git a/.github/workflows/deploy_test.yml b/.github/workflows/deploy_test.yml index dcb5b95..d3ce47b 100644 --- a/.github/workflows/deploy_test.yml +++ b/.github/workflows/deploy_test.yml @@ -36,6 +36,7 @@ jobs: mv Kiwi/ModelGenerator/combiningRule.txt model/kiwipiepy_model/ mv Kiwi/ModelGenerator/skipbigram.mdl model/kiwipiepy_model/ + yum install libffi-devel -y /opt/python/cp38-cp38/bin/python setup.py sdist /opt/python/cp38-cp38/bin/python -m pip install twine wheel /opt/python/cp38-cp38/bin/python -m twine upload --repository testpypi dist/*.tar.gz