You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
33
33
34
34
### Added
35
35
36
+
- Ability to upload pip / conda packages to <https://packages.arup.com> for internal Arup projects.
36
37
- Composite action for building a project-specific conda environment, used across reusable workflows but also available for direct use as a step in other projects (#26).
37
38
- Environment cache directory within the runner working directory (`.cache/envs`) (#29).
Copy file name to clipboardexpand all lines: README.md
+17-1
Original file line number
Diff line number
Diff line change
@@ -146,8 +146,12 @@ _Inputs_:
146
146
- environment (optional, default="pre-release"): GitHub environment in which secrets are stored.
147
147
Environments help to ensure that only certain operations are available to different user types.
148
148
E.g., releasing packages can be given an extra layer of security whereby a maintainer has to approve an action before it can run.
149
+
- destination (optional, default="anaconda"): One of "anaconda" or "internal", to specify what the ultimate destination of the package will be.
150
+
If `internal`, the package will be uploaded to <https://packages.arup.com/conda>.
151
+
If `anaconda`, the package will be uploaded to <https://anaconda.org/[CHANNEL-NAME]/> where `[CHANNEL-NAME]` is linked to the `ANACONDA_TOKEN` secret.
149
152
150
153
_Required secrets_: `ANACONDA_TOKEN`(required to verify that later upload will not fail) stored in a GitHub actions environment of the same name as `environment`.
154
+
If `destination=internal`, this secret must still be defined, but can be a placeholder string (e.g. "NA").
151
155
152
156
### Upload a conda package
153
157
@@ -164,8 +168,12 @@ _Inputs_:
164
168
- environment (optional, default="pre-release"): GitHub environment in which secrets are stored.
165
169
Environments help to ensure that only certain operations are available to different user types.
166
170
E.g., releasing packages can be given an extra layer of security whereby a maintainer has to approve an action before it can run.
171
+
- destination (optional, default="anaconda"): One of "anaconda" or "internal", to specify what the ultimate destination of the package will be.
172
+
If `internal`, the package will be uploaded to <https://packages.arup.com/conda>.
173
+
If `anaconda`, the package will be uploaded to <https://anaconda.org/[CHANNEL-NAME]/> where `[CHANNEL-NAME]` is linked to the `ANACONDA_TOKEN` secret.
167
174
168
175
_Required secrets_: `ANACONDA_TOKEN`stored in a GitHub actions environment of the same name as `environment`.
176
+
If `destination=internal`, this secret must still be defined, but can be a placeholder string (e.g. "NA").
169
177
170
178
### Build a pip package for upload to PyPI
171
179
@@ -187,8 +195,12 @@ E.g., releasing packages can be given an extra layer of security whereby a maint
187
195
- pip_args (optional, default="--no-deps"). Any arguments to pass to pip when running test installations.
188
196
Many of our packages have non-python dependencies, so it is useful to use `--no-deps` in the installation.
189
197
However, if you know that your library has purely python dependencies then the pip build process is made more robust by removing this argument (i.e. `pip_args: ""`)
198
+
- destination (optional, default="pypi"): One of "pypi" or "internal", to specify what the ultimate destination of the package will be.
199
+
If `internal`, the package will be uploaded to <https://packages.arup.com>.
200
+
If `pypi`, the package will be uploaded to <https://test.pypi.org/> for testing and <https://pypi.org/> for final upload.
190
201
191
202
_Required secrets_: `TEST_PYPI_API_TOKEN`stored in a GitHub actions environment of the same name as `environment`.
203
+
If `destination=internal`, this secret must still be defined, but can be a placeholder string (e.g. "NA").
192
204
193
205
### Upload a pip package to PyPI
194
206
@@ -205,8 +217,12 @@ _Inputs_:
205
217
- environment (optional, default="pre-release"): GitHub environment in which secrets are stored.
206
218
Environments help to ensure that only certain operations are available to different user types.
207
219
E.g., releasing packages can be given an extra layer of security whereby a maintainer has to approve an action before it can run.
220
+
- destination (optional, default="pypi"): One of "pypi" or "internal", to specify what the ultimate destination of the package will be.
221
+
If `internal`, the package will be uploaded to <https://packages.arup.com>.
222
+
If `pypi`, the package will be uploaded to <https://test.pypi.org/> for testing and <https://pypi.org/> for final upload.
208
223
209
224
_Required secrets_: `PYPI_API_TOKEN`stored in a GitHub actions environment of the same name as `environment`.
225
+
If `destination=internal`, this secret must still be defined, but can be a placeholder string (e.g. "NA").
_description_: If your project was generated using a [cookiecutter](https://github.com/cookiecutter/cookiecutter) template, check whether there are changes to the template that could be pulled into the project.
315
+
_description_: If your project was generated using a [cookiecutter](https://github.com/cookiecutter/cookiecutter) template, check whether there are changes to the template that could be pulled into the project.
0 commit comments