Skip to content

Commit

Permalink
feat: update workflow and version
Browse files Browse the repository at this point in the history
Renamed the CONDA_BLD_PATH environment variable to CONDA_PKG_PATH in the GitHub Actions workflow. Updated the paths in the upload and artifact steps to use the new environment variable. Also, updated the version in allele_tools/version.py.
  • Loading branch information
adamkoziol committed May 7, 2024
1 parent 1a583ed commit a642d10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
needs: deploy
runs-on: ubuntu-latest
env:
CONDA_BLD_PATH: /usr/share/miniconda/conda-bld/noarch
CONDA_PKG_PATH: /usr/share/miniconda/conda-bld/noarch
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -90,14 +90,14 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: allelefinder
path: $CONDA_BLD_PATH/noarch/allelefinder-*.tar.bz2
path: $CONDA_PKG_PATH/allelefinder-*.tar.bz2
- name: Install anaconda-client
run: |
conda install -y anaconda-client
echo "$(conda info --base)/bin" >> $GITHUB_PATH
- name: Upload package to olcbioinformatics
run: |
anaconda -t ${{ secrets.OLCBIOINFORMATICS_ANACONDA_API_TOKEN }} upload -u olcbioinformatics $CONDA_BLD_PATH/allelefinder-*.tar.bz2
anaconda -t ${{ secrets.OLCBIOINFORMATICS_ANACONDA_API_TOKEN }} upload -u olcbioinformatics $CONDA_PKG_PATH/allelefinder-*.tar.bz2
- name: Upload package to adamkoziol
run: |
anaconda -t ${{ secrets.ADAMKOZIOL_ANACONDA_API_TOKEN }} upload -u adamkoziol $CONDA_BLD_PATH/allelefinder-*.tar.bz2
anaconda -t ${{ secrets.ADAMKOZIOL_ANACONDA_API_TOKEN }} upload -u adamkoziol $CONDA_PKG_PATH/allelefinder-*.tar.bz2
2 changes: 1 addition & 1 deletion allele_tools/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
AlleleFinder version
"""
__version__ = '0.4.3'
__version__ = '0.4.4'

0 comments on commit a642d10

Please sign in to comment.