File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 name : Deploy to package index
1010 runs-on : ubuntu-24.04
1111 env :
12- PYTHON_VERSION : 3.9
12+ PYTHON_VERSION : " 3.12 "
1313 REPOSITORY_USERNAME : ${{ secrets.PYPI_USERNAME }}
1414 REPOSITORY_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
1515 REPOSITORY_URL : ${{ secrets.PYPI_PUBLISH_URL }}
2626 python-version : ${{ env.PYTHON_VERSION }}
2727
2828 - name : Setup Conda
29- uses : conda-incubator/setup-miniconda@v3
29+ uses : conda-incubator/setup-miniconda@v4
3030 with :
3131 miniconda-version : " latest"
3232 activate-environment : ${{ env.CONDA_ENV_NAME }}
6464 while [ $count -lt $max_retries ]; do
6565 # Create meta.yaml recipe for the package pulled from PyPi
6666 grayskull pypi fds.sdk.utils==${version}
67-
67+
6868 if [ -f ./fds.sdk.utils/meta.yaml ]; then
6969 echo "Version ${version} of fds.sdk.utils is available on PyPI."
7070
8585 conda config --set anaconda_upload no
8686 package_file=$(conda build fds.sdk.utils --output)
8787 conda build -c conda-forge fds.sdk.utils
88-
88+
8989 anaconda -t $ANACONDA_TOKEN upload -u factset -l main ${package_file}
9090 break
9191 else
You can’t perform that action at this time.
0 commit comments