Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Augustinio committed Dec 12, 2024
1 parent e4b9581 commit e1e6a8c
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions .github/workflows/publish-to-testpypi-and-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Publish pasqal-cloud 📦 to PyPI and TestPyPI

on: push
on:
push:
branches:
- main

jobs:
build-n-publish:
Expand Down Expand Up @@ -29,16 +32,16 @@ jobs:
--wheel
--outdir dist/
# - name: Publish distribution 📦 to Test PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PASQAL_CLOUD_TEST_PYPI_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PASQAL_CLOUD_TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/

# - name: Publish distribution 📦 to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PASQAL_CLOUD_PYPI_TOKEN }}
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PASQAL_CLOUD_PYPI_TOKEN }}

create-github-release:
name: Create GitHub Release
Expand Down Expand Up @@ -87,13 +90,13 @@ jobs:
- name: Display release notes
run: echo "${{ env.RELEASE_NOTES }}"

# - name: Create GitHub Release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ env.VERSION }}
# release_name: ${{ env.VERSION }}
# body: ${{ env.RELEASE_NOTES }}
# draft: false
# prerelease: false
- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.VERSION }}
release_name: ${{ env.VERSION }}
body: ${{ env.RELEASE_NOTES }}
draft: false
prerelease: false

0 comments on commit e1e6a8c

Please sign in to comment.