Skip to content

Commit

Permalink
chore: disable release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
rabii-chaarani committed Nov 20, 2024
1 parent c334a62 commit c5c5807
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,24 +207,24 @@ jobs:
name: map2loop-conda-${{ matrix.os }}-${{ matrix.python-version }}
path: conda

release-please:
needs: [pypi-test-wheels, conda-build]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- uses: googleapis/release-please-action@v4
id: release
with:
release-type: "python"
config-file: "release-please-config.json"
manifest-file: ".release-please-manifest.json"
outputs:
release_created: ${{ steps.release.outputs.release_created }}
#if a release is created then run the deploy scripts for github.io, conda, pypi and docker
# release-please:
# needs: [pypi-test-wheels, conda-build]
# runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/master'
# steps:
# - uses: actions/checkout@v4
# - uses: googleapis/release-please-action@v4
# id: release
# with:
# release-type: "python"
# config-file: "release-please-config.json"
# manifest-file: ".release-please-manifest.json"
# outputs:
# release_created: ${{ steps.release.outputs.release_created }}
# #if a release is created then run the deploy scripts for github.io, conda, pypi and docker

conda-upload:
needs: [release-please, conda-build]
needs: [conda-build]
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
Expand All @@ -234,7 +234,7 @@ jobs:
# - macos-latest
- windows-latest
python-version: ["3.9", "3.10", "3.11", "3.12"]
if: ${{ needs.release-please.outputs.release_created }}
# if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: actions/download-artifact@v4
with:
Expand All @@ -253,10 +253,10 @@ jobs:
anaconda upload --label main conda/*/*.tar.bz2
pypi-upload:
needs: [release-please, pypi-test-wheels]
needs: [pypi-test-wheels]
runs-on:
- ubuntu-latest
if: ${{ needs.release-please.outputs.release_created }}
# if: ${{ needs.release-please.outputs.release_created }}
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
Expand Down

0 comments on commit c5c5807

Please sign in to comment.