Skip to content

Commit

Permalink
feat: update workflow and version
Browse files Browse the repository at this point in the history
Updated the GitHub Actions workflow to include CONDA_BLD_PATH environment variable and install conda-verify. Also, updated the version in allele_tools/version.py.
  • Loading branch information
adamkoziol committed May 6, 2024
1 parent 7d19af3 commit 1a583ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
build:
needs: deploy
runs-on: ubuntu-latest
env:
CONDA_BLD_PATH: /usr/share/miniconda/conda-bld/noarch
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -67,6 +69,8 @@ jobs:
channels: olcbioinformatics,bioconda,conda-forge
- name: Install Conda build
run: conda install -y conda-build
- name: Install conda-verify
run: conda install -y conda-verify
- name: Set version
run: echo "VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
- name: Download source code
Expand All @@ -93,9 +97,7 @@ jobs:
echo "$(conda info --base)/bin" >> $GITHUB_PATH
- name: Upload package to olcbioinformatics
run: |
source activate allelefinder_env
anaconda -t ${{ secrets.OLCBIOINFORMATICS_ANACONDA_API_TOKEN }} upload -u olcbioinformatics $CONDA_BLD_PATH/noarch/allelefinder-*.tar.bz2
anaconda -t ${{ secrets.OLCBIOINFORMATICS_ANACONDA_API_TOKEN }} upload -u olcbioinformatics $CONDA_BLD_PATH/allelefinder-*.tar.bz2
- name: Upload package to adamkoziol
run: |
source activate allelefinder_env
anaconda -t ${{ secrets.ADAMKOZIOL_ANACONDA_API_TOKEN }} upload -u adamkoziol $CONDA_BLD_PATH/noarch/allelefinder-*.tar.bz2
anaconda -t ${{ secrets.ADAMKOZIOL_ANACONDA_API_TOKEN }} upload -u adamkoziol $CONDA_BLD_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.2'
__version__ = '0.4.3'

0 comments on commit 1a583ed

Please sign in to comment.