Skip to content

Commit a6c770e

Browse files
authored
Merge pull request #3 from GavinHuttley/main
DEV: updated release.yml
2 parents 45e169a + 906178d commit a6c770e

1 file changed

Lines changed: 2 additions & 22 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -49,30 +49,10 @@ jobs:
4949
./dist/*.whl
5050
./dist/*.tar.gz
5151
52-
release_test:
53-
name: Release to Test PyPI
54-
needs: build
55-
environment: release_test
56-
runs-on: ubuntu-latest
57-
permissions:
58-
id-token: write
59-
60-
steps:
61-
- name: Download sdist and wheel
62-
uses: actions/download-artifact@v7
63-
with:
64-
name: citeable-wheel-sdist
65-
path: ./dist
66-
67-
- name: Publish package distributions to Test PyPI
68-
uses: pypa/gh-action-pypi-publish@release/v1
69-
with:
70-
repository-url: https://test.pypi.org/legacy/
71-
7252
release:
7353
name: Release to PyPI
74-
needs: release_test
75-
environment: release
54+
needs: build
55+
environment: pypi
7656
runs-on: ubuntu-latest
7757
permissions:
7858
id-token: write

0 commit comments

Comments
 (0)