Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Build
on:
pull_request:

pull_request_target:
types:
- closed
release:
types:
- published
Expand Down Expand Up @@ -79,7 +82,7 @@ jobs:

- name: Publish package - test
uses: pypa/gh-action-pypi-publish@release/v1
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true
with:
user: __token__
password: ${{ secrets.PYPI_TEST_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Stolen from Shapely's setup.py
# Environment variables influence this script.
#
# MDAL_LIBRARY_PATH: a path to a MDAL C++ shared library.
# MDAL_LIBRARY_PATH: a path to a MDAL C++ shared library.
#
# NB: within this setup scripts, software versions are evaluated according
# to https://www.python.org/dev/peps/pep-0440/.
Expand Down