Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Deploy to package index
runs-on: ubuntu-24.04
env:
PYTHON_VERSION: 3.9
PYTHON_VERSION: "3.12"
REPOSITORY_USERNAME: ${{ secrets.PYPI_USERNAME }}
REPOSITORY_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
REPOSITORY_URL: ${{ secrets.PYPI_PUBLISH_URL }}
Expand All @@ -26,7 +26,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}

- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3
uses: conda-incubator/setup-miniconda@v4
with:
miniconda-version: "latest"
activate-environment: ${{ env.CONDA_ENV_NAME }}
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
while [ $count -lt $max_retries ]; do
# Create meta.yaml recipe for the package pulled from PyPi
grayskull pypi fds.sdk.utils==${version}

if [ -f ./fds.sdk.utils/meta.yaml ]; then
echo "Version ${version} of fds.sdk.utils is available on PyPI."

Expand All @@ -85,7 +85,7 @@ jobs:
conda config --set anaconda_upload no
package_file=$(conda build fds.sdk.utils --output)
conda build -c conda-forge fds.sdk.utils

anaconda -t $ANACONDA_TOKEN upload -u factset -l main ${package_file}
break
else
Expand Down
Loading