Sviatoslav Sydorenko
fedca4a9a8
🎨 Use explicit strings for action input defaults
2022-12-06 21:44:30 +01:00
Sviatoslav Sydorenko
1350b8bd72
🐛 Avoid broken env vars passed by GHA from host
...
Fixes https://github.com/pypa/gh-action-pypi-publish/issues/112 .
2022-12-06 21:40:38 +01:00
Sviatoslav Sydorenko
dfae161eab
Add a config for pre-commit.ci
2022-12-06 00:17:52 +01:00
Sviatoslav Sydorenko
b3f93a1ad6
Expect the GHA workflow to complete in 2 minutes
2022-12-06 00:16:34 +01:00
Sviatoslav Sydorenko
595429bec5
Drop the execute privilege bit from print-hash.py
...
This is requested by the pre-commit.ci linting
2022-12-06 00:13:22 +01:00
Sviatoslav Sydorenko
cde4774fb1
Adjust the GHA workflow per yamllint rules
2022-12-06 00:11:43 +01:00
Sviatoslav Sydorenko
a737e68aed
Sync funding config with other places I maintain
2022-12-06 00:08:31 +01:00
Sviatoslav Sydorenko
f68ac3ea4e
Merge PR #111 into unstable/v1
...
This patch adds a simple GHA-based smoke test that uses devpi to
verify the main success path of the action.
2022-12-05 23:34:15 +01:00
Sviatoslav Sydorenko
7ef975b955
Run CI smoke-tests in PRs
2022-12-05 23:33:07 +01:00
S2
9022aae148
Add test upload workflow
2022-12-06 09:01:24 +11:00
Sviatoslav Sydorenko
5d1679fa6b
Use py3.11 user-global site-packages in PYTHONPATH
2022-12-03 04:18:27 +01:00
Sviatoslav Sydorenko
d2a2496a01
Switch the runtime from Python 3.9 to Python 3.11
2022-12-03 02:46:45 +01:00
Sviatoslav Sydorenko
d7edd4c957
Add user-global site-packages to `$PYTHONPATH`
2022-11-30 11:37:45 +01:00
Sviatoslav Sydorenko
8d5f27cca4
Install Twine in the user-global site-packages
2022-11-30 11:17:41 +01:00
Sviatoslav Sydorenko
b0dc178d8e
Disable pip cache dir with an env var
2022-11-30 11:17:12 +01:00
Sviatoslav Sydorenko
bbf6e0b2f0
Copy requirements to corresponding dir @ container
...
This corrects the mistake of setting wrong target directory made
earlier in c54db9c2b7
.
2022-11-30 11:03:33 +01:00
Sviatoslav Sydorenko
0b69a8c2df
Document broken `pkginfo==1.9.0` transitive dep
...
Refs:
* https://github.com/pypa/gh-action-pypi-publish/issues/107
2022-11-30 10:32:45 +01:00
Sviatoslav Sydorenko
c54db9c2b7
Integrate pip-tools-generated constraint files
...
This patch adds constraint files with the dependency tree
generated by `pip-compile` under Python 3.9. They are now integrated
into the action container image.
Refs:
* https://github.com/pypa/gh-action-pypi-publish/issues/101
* https://github.com/pypa/gh-action-pypi-publish/issues/107
2022-11-30 10:17:33 +01:00
Sviatoslav Sydorenko
480ec4ed58
Inherit `yamllint` config from the default preset
...
This patch also fixes the misconfigured rules definition.
2022-11-30 10:05:59 +01:00
Sviatoslav Sydorenko
5fb2f047e2
Drop `__token__` from README code usage snippets
...
This patch reduces the emphasis on the `__token__` value of the `user`
input since it's default anyway. It also adds a separate paragraph
showing how to specify a custom username if the need be.
Ref: https://github.com/pypa/packaging.python.org/issues/1108
2022-07-25 23:13:35 +02:00
Sviatoslav Sydorenko
7bbdccd64f
Update the mention of `master` with `unstable/v1`
2022-07-25 23:07:43 +02:00
Sviatoslav Sydorenko
328cf89e05
📝 Fix a link to the "Distribution Package" term
2022-07-25 22:55:14 +02:00
Sviatoslav Sydorenko
1bbe3c9926
📝 Announce deprecation of the `master` branch
...
From now on, the default repository branch is `unstable/v1`.
Resolves #83
2022-07-25 17:26:15 +02:00
Sviatoslav Sydorenko
37f50c210e
Merge PR #91
2022-07-25 17:03:25 +02:00
Sviatoslav Sydorenko
9f0421c6c6
Add #StandWithUkraine banner to README
...
This patch highlights the original developer's identity while
spreading awareness about the circumstances[1] affecting the lead
contributors. Since it affects the maintenance of this project and the
users must be well-informed of why this repository doesn't get as much
attention as it deserves.
[1]: https://github.com/vshymanskyy/StandWithUkraine
2022-07-25 16:42:56 +02:00
meowmeowcat
c3fbd68c15
Remove quotes
...
Fix #90
2022-01-13 12:50:40 +08:00
Sviatoslav Sydorenko
717ba43cfb
Trim the trailing whitespaces in `print-hash.py`
2022-01-09 12:53:19 +01:00
Sviatoslav Sydorenko
4992a00fb2
Merge pull request #87 from meowmeowmeowcat/show-hash-values
...
This patch calculates SHA256, MD5, and BLAKE2-256 hash digests
of every file in the packages directory and prints out their HEX
representations to the log.
Resolves https://github.com/pypa/gh-action-pypi-publish/issues/62
2022-01-09 12:50:56 +01:00
meowmeowcat
977d067561
Fix a bug
2022-01-09 15:18:25 +08:00
Sviatoslav Sydorenko
5d18baa42c
Drop unnecessary `file_iterable` var
2022-01-09 00:25:56 +01:00
Sviatoslav Sydorenko
0575dc8eab
Refactor the hash helper script to use pathlib and CLI args
2022-01-09 00:24:29 +01:00
Sviatoslav Sydorenko
8682135dac
Correct the if-clause for printing the hashes
2022-01-09 00:05:27 +01:00
meowmeowcat
c83d37bdf0
Introduce print_hash in README
2022-01-08 12:41:13 +08:00
meowmeowcat
777bfc4346
Fix the message
2022-01-08 12:26:32 +08:00
meowmeowcat
ca30c7da98
Show a message before printing hash values of files
2022-01-08 12:24:12 +08:00
meowmeowcat
06a2dd6685
Fix bug
2022-01-08 12:21:09 +08:00
meowmeowcat
fc71be69fe
Add print-hash.py to Dockerfile
2022-01-08 12:14:48 +08:00
meowmeowcat
77ee113713
Move out the Python script from the shell script
2022-01-08 12:12:15 +08:00
meowmeowcat
e5cc29fe08
Show hash values of files uploaded
2022-01-08 00:24:27 +08:00
Sviatoslav Sydorenko
bea5cda687
Fix a typo in README: s/wheels/wheel/
2021-02-19 20:28:01 +01:00
Sviatoslav Sydorenko
f334b3c277
Tell to use artifacts for platform wheels @ README
...
Per suggestion @
https://github.com/pypa/gh-action-pypi-publish/discussions/57#discussioncomment-365097
2021-02-19 20:22:31 +01:00
Sviatoslav Sydorenko
c89694fb92
Merge PR #55
2021-02-19 20:08:03 +01:00
Sviatoslav Sydorenko
ed5a157a01
Add an empty line after the title @ README
2021-02-19 20:04:22 +01:00
Sviatoslav Sydorenko
27b31702a0
Use Python 3.9 in runtime
2021-02-08 18:13:46 +01:00
Sviatoslav Sydorenko
9f41657646
Use wheels over newer sdists in pip install twine
...
Fixes #50
Fixes #51
2021-02-08 18:13:17 +01:00
Sviatoslav Sydorenko
a5f9cf8db0
Upgrade pip in the docker container
...
Fixes #56
2021-02-08 18:11:53 +01:00
P. L. Lim
3f53700db1
DOC: Do not use master in examples
...
to be consistent with the "pro tip"
2021-01-22 09:36:17 -05:00
Sviatoslav Sydorenko
f91f98d65e
Merge PR #52 by @scop
...
This change adjusts the example secret names in README to be uppercase
and renames them to communicate better that it's supposed to be a PyPI
API token.
2020-12-13 23:44:03 +01:00
Ville Skyttä
4425980a33
Use PYPI_API_TOKEN instead of pypi_password as secret name in examples
...
GitHub secrets are customarily spelled in uppercase, and in PyPI terms
we're dealing with API tokens here, not passwords.
2020-12-12 18:08:55 +02:00
Sviatoslav Sydorenko
54b39fb937
🚑 Fix referring to `$INPUT_VERBOSE` var
...
Resolves #41
2020-09-26 00:42:02 +02:00