Skip to content

Commit 5aab7f8

Browse files
committed
revert test changes
Signed-off-by: Martijn Govers <[email protected]>
1 parent b4695cd commit 5aab7f8

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ jobs:
3838
permissions:
3939
contents: write
4040
with:
41-
create_release: ${{ (github.event_name == 'workflow_dispatch' && inputs.create_release) || (github.event_name == 'push') || (github.event_name == 'pull_request') }}
42-
# TODO(mgovers): revert back to original
41+
create_release: ${{ (github.event_name == 'workflow_dispatch' && inputs.create_release) || (github.event_name == 'push') }}
4342

4443
check-code-quality:
4544
uses: "./.github/workflows/check-code-quality.yml"
@@ -61,8 +60,7 @@ jobs:
6160
contents: write
6261
id-token: write # Required for Trusted Publishing
6362
needs: build-test-release
64-
# if: (github.event_name == 'workflow_dispatch' && inputs.create_release) || github.event_name == 'push'
65-
# TODO(mgovers): revert back to original
63+
if: (github.event_name == 'workflow_dispatch' && inputs.create_release) || github.event_name == 'push'
6664

6765
steps:
6866
- name: Download assets from GitHub release
@@ -72,7 +70,7 @@ jobs:
7270
# download the latest release
7371
latest: true
7472
# don't download pre-releases
75-
preRelease: true # TODO(mgovers): revert back to false
73+
preRelease: false
7674
fileName: "*"
7775
# don't download GitHub-generated source tar and zip files
7876
tarBall: false
@@ -81,14 +79,15 @@ jobs:
8179
out-file-path: assets-to-publish
8280
# don't extract downloaded files
8381
extract: false
82+
8483
- name: List downloaded assets
8584
run: ls -la assets-to-publish
86-
85+
8786
- name: Upload assets to PyPI
8887
uses: pypa/gh-action-pypi-publish@release/v1
8988
with:
9089
# To test, use the TestPyPI:
91-
repository-url: https://test.pypi.org/legacy/ # TODO(mgovers): revert back
90+
# repository-url: https://test.pypi.org/legacy/
9291
# You must also create an account and project on TestPyPI,
9392
# as well as set the trusted-publisher in the project settings:
9493
# https://docs.pypi.org/trusted-publishers/adding-a-publisher/

0 commit comments

Comments
 (0)