Skip to content

Commit 74d645c

Browse files
committed
fix(publish): upgrade Python 3.9 to 3.12 and setup-miniconda to v4
1 parent e863c81 commit 74d645c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
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 }}
@@ -26,7 +26,7 @@ jobs:
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 }}
@@ -64,7 +64,7 @@ jobs:
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
@@ -85,7 +85,7 @@ jobs:
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

0 commit comments

Comments
 (0)