From 3d65da8413f5aa7775c85f1021595d061e5fd077 Mon Sep 17 00:00:00 2001 From: Caibin Sheng <43896555+CaibinSh@users.noreply.github.com> Date: Wed, 14 Aug 2024 10:54:46 +0200 Subject: [PATCH] update semantic release (#84) * fix: optomize dataloading for ambient profile * fix: optomize dataloading for ambient profile * docs: update installation * feat: add functionality for batch ambient removal * feat: add functionality for batch ambient removal * fix: fix a bug and refactor dataloading * fix: fix a bug * fix: fix a bug * fix: fix a bug * fix: fix a bug * refactor: refactor scar dataloader * refactor: refactor codes for better GPU usage * refactor: refactor codes for better GPU usage * refactor: Refactor functions for compatibility with scipy 1.14 * refactor: load entire data to GPU * refactor(scar): refactor dataloading to improve efficiency * refactor(scar): refactor dataloading to improve efficiency * refactor(scar): refactor dataloading to improve efficiency * refactor(scar): refactor dataloading to improve efficiency * feature(scar): introduce caching functionality * doc(docs): update python version for readthedocs * doc(docs): update sphinx-gallery version for readthedocs * refactor(scar): delete unneccessary codes * refactor(scar): refactor scar to allow efficient usage of GPU * refactor(scar): refactor scar to allow efficient usage of GPU * refactor(scar): refactor scar to allow efficient usage of GPU * refactor(scar): refactor scar to allow efficient usage of GPU * refactor(scar): not output native frequencies by default * refactor(scar): refactor dataloader * refactor(scar): remove redundant codes * refactor(scar): optimize dataloading * refactor(vae): refactor stochastic rounding for performance * chore: rewrite device log information * docs(scar): correct docs for scar * docs(tutorials): update tutorial notebooks * docs(scar): refactor docs * docs(scar): add docs for cache_capacity parameter * refactor(main): refactor command line tool * refator(scar): refactor scar to automate calculation of ambient profile in the case of no ambient profile provided * fix(main): fix a bug * fix(main): fix a bug * fix(test): lower down sample size for test * docs(scar): update version in doc * docs(tutorial): update notebooks * docs(tutorial): add a tutorial for batch denoising * refactor(docs): reset semantic_release to main branch * docs(tutorial): update hyperlink * fix(workflow): update semantic release * fix(workflow): update semantic release * fix(workflow): update semantic release --------- Co-authored-by: EC2 Default User --- .github/workflows/semantic-release.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml index adc3c59..8d80952 100644 --- a/.github/workflows/semantic-release.yaml +++ b/.github/workflows/semantic-release.yaml @@ -19,9 +19,12 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Python Semantic Release - uses: relekang/python-semantic-release@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - repository_username: __token__ - repository_password: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} + run: | + semantic-release publish \ + --github_token $GITHUB_TOKEN \ + --pypi_token $PYPI_TOKEN \ No newline at end of file