Skip to content

Commit 5b40bdb

Browse files
authored
fix: adjust CI workflows parameters (#65)
1 parent 8470afd commit 5b40bdb

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Install conda build suite
7373
shell: bash -l {0}
74-
run: conda install conda-build conda-verify numpy
74+
run: conda install anaconda-client conda-build conda-verify numpy
7575

7676
- name: Conda Info
7777
shell: bash -l {0}
@@ -90,12 +90,13 @@ jobs:
9090
shell: bash -l {0}
9191
run: conda build . -c conda-forge
9292

93-
- name: Publish to Anaconda.org
94-
uses: m0nhawk/conda-package-publish-action@master
95-
with:
96-
subDir: '.'
97-
AnacondaUsername: AngryMaciek
98-
AnacondaPassword: ${{ secrets.ANACONDA_PASSWORD }}
93+
- name: Upload to Anaconda.org
94+
shell: bash -l {0}
95+
env:
96+
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
97+
run: |
98+
conda config --set anaconda_upload yes
99+
conda upload --user AngryMaciek hypercomplex --token ANACONDA_TOKEN
99100
100101
DockerHub:
101102
runs-on: ubuntu-22.04
@@ -130,7 +131,7 @@ jobs:
130131
uses: requarks/changelog-action@v1
131132
with:
132133
token: ${{ secrets.GITHUB_TOKEN }}
133-
tag: ${${GITHUB_REF##*/}:1}
134+
tag: ${{ github.ref_name }}
134135
excludeTypes: docs,other
135136
includeRefIssues: false
136137
reverseOrder: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![CodeFactor](https://www.codefactor.io/repository/github/angrymaciek/hypercomplex/badge)](https://www.codefactor.io/repository/github/angrymaciek/hypercomplex)
99
[![publish](https://github.com/AngryMaciek/hypercomplex/workflows/publish/badge.svg)](https://github.com/AngryMaciek/hypercomplex/actions?query=workflow%3Apublish)
1010
[![conda](https://anaconda.org/angrymaciek/hypercomplex/badges/version.svg)](https://anaconda.org/AngryMaciek/hypercomplex)
11-
[![DockerHub](https://badgen.net/badge/icon/2.0.9/docker?icon=docker&label=DockerHub&color=blue)](https://hub.docker.com/r/angrymaciek/capsule)
11+
[![DockerHub](https://badgen.net/badge/icon/2.0.10/docker?icon=docker&label=DockerHub&color=blue)](https://hub.docker.com/r/angrymaciek/hypercomplex)
1212
[![DOI](https://joss.theoj.org/papers/10.21105/joss.05272/status.svg)](https://doi.org/10.21105/joss.05272)
1313

1414
<img src="img/logo.png" alt="drawing" height="30"/>

hypercomplex/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.0.9
1+
v2.0.10

0 commit comments

Comments
 (0)