Remove dependency xlsxwriter #8
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Releases | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| publish: | |
| runs-on: ${{ matrix.os }} | |
| name: Publish | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: ["3.13"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v1 # use the latest code commit | |
| - name: Setup conda with python ${{ matrix.python-version }} | |
| uses: s-weigand/setup-conda@v1 | |
| with: | |
| update-conda: false | |
| python-version: ${{ matrix.python-version }} | |
| - name: Add conda defaults channel | |
| run: conda config --add channels defaults | |
| - name: Initialize powershell for conda (Windows only) | |
| if: runner.os == 'Windows' | |
| run: conda init powershell | |
| - name: Install dependencies with conda | |
| run: | | |
| conda install anaconda-client conda-build setuptools setuptools_scm | |
| - name: Build & upload with conda | |
| run: | | |
| # Login to anaconda (answer the resulting prompt with yes) | |
| echo y | anaconda org login --username ${{ secrets.ANACONDA_USERNAME }} --password ${{ secrets.ANACONDA_PASSWORD }} --hostname "GitHub_${{ matrix.os }}_${{ matrix.python-version }}" | |
| # Enable automatic upload to anaconda.org | |
| conda config --set anaconda_upload yes | |
| # Run build process | |
| conda build conda.recipe -c defaults -c conda-forge |