Skip to content

Commit f633e07

Browse files
authored
Merge pull request #932 from CitrineInformatics/bugfix/gh-actions-cannot-reuse-deploy
Use a local copy of the deploy workflow.
2 parents 4992cab + 59146da commit f633e07

File tree

3 files changed

+14
-33
lines changed

3 files changed

+14
-33
lines changed

.github/actions/initialize/action.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Cannot use a shared workflow to deploy to PyPI currently: https://github.com/pypi/warehouse/issues/11096
2+
13
name: Deploy to PyPI
24

35
on:
@@ -6,6 +8,14 @@ on:
68

79
jobs:
810
publish:
9-
uses: CitrineInformatics/common-gh-actions/.github/workflows/deploy.yml@v1
10-
permissions:
11-
id-token: write
11+
name: Publish package to PyPI
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check out repository code
15+
uses: actions/checkout@v4
16+
- name: Build
17+
run: python setup.py sdist bdist_wheel
18+
- name: Publish
19+
uses: pypa/gh-action-pypi-publish@release/v1
20+
with:
21+
password: ${{ secrets.PYPI_API_TOKEN }}

src/citrine/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.2.3"
1+
__version__ = "3.2.4"

0 commit comments

Comments
 (0)