Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove non-wheel artifacts for PyPI publish #41

Merged
merged 2 commits into from Aug 3, 2022

Conversation

freedmand
Copy link
Contributor

Description

The beta release failed because the GitHub actions step that downloads artifacts and then uploads them to PyPI will upload ALL artifacts, even those from other jobs. We only want Wheel files to trickle through. We won't know if this works until we merge to dev

@freedmand freedmand requested a review from a team as a code owner August 3, 2022 01:50
@chriszs
Copy link
Contributor

chriszs commented Aug 3, 2022

Would it make any sense to upload the wheel artifact with a specific name, so you can download just that named artifact from with the download-artifact action instead of downloading all and then deleting some?

@freedmand
Copy link
Contributor Author

freedmand commented Aug 3, 2022 via email

@chriszs
Copy link
Contributor

chriszs commented Aug 3, 2022

@freedmand I'm going by the docs, which seem to indicate you can name supply a name when you upload the artifacts and then use that name to download just that named artifact. I could be misinterpreting it, though.

@chriszs
Copy link
Contributor

chriszs commented Aug 3, 2022

The artifact named "artifact," which is what you're downloading, is just the default name if no name is supplied at upload.

@freedmand
Copy link
Contributor Author

Thanks, @chriszs, that makes sense. Let me know if this refactor looks good

@chriszs
Copy link
Contributor

chriszs commented Aug 3, 2022

Yes! Approved.

@freedmand freedmand merged commit 2d19e7d into develop Aug 3, 2022
freedmand added a commit that referenced this pull request Aug 4, 2022
* Sync main->dev (#39)

* v0.1.0 (#37)

* Remove external deps (Curl) and refactor release process (#35)

* fix: remove curl and get pcre to work as natural dependency

* feat: readme updates, mappings test script

* feat: reusable github workflow revision

* fix: license includes BSD/PCRE, fix tests

* fix: don't rely on windows compress-archive

* fix: refactor release workflow, bump timeout to 10 mins

* fix: add input for pr-release workflow

* fix: refactor workflows to use nested with format

* feat: CLI tests

* chore: remove unneeded cli test comments

* docs: update docquery->filing urls, and secondary -> converted paper

* fix: trailing cli filing id bug

* fix a few oversights with v8.4 mappings (#31)

Co-authored-by: Dylan Freedman <freedmand@gmail.com>

* Fix custom write function segfault (#32)

* DENG-116 Change buffer size

* Revert "DENG-116 Change buffer size"

This reverts commit 0ae41c3.

* Use a POINTER(c_char) instead of a c_char_p for CUSTOM_WRITE contents

* Add a smoke test for filing 1606847

Co-authored-by: crystaljg <70042918+crystaljg@users.noreply.github.com>
Co-authored-by: Crystal Gong <cgong@actbluetech.com>

* fix: release to latest tag, bump to 0.1.0 (#36)

Co-authored-by: Chris Zubak-Skees <chriszs@gmail.com>
Co-authored-by: Evan Sonderegger <evan@rpy.xyz>
Co-authored-by: james-clemer-actblue <69259105+james-clemer-actblue@users.noreply.github.com>
Co-authored-by: crystaljg <70042918+crystaljg@users.noreply.github.com>
Co-authored-by: Crystal Gong <cgong@actbluetech.com>

* fix: main release workflow bug

* feat: 0.1.1

* feat: use ref name to get current tag

* feat: version 0.1.3

Co-authored-by: Chris Zubak-Skees <chriszs@gmail.com>
Co-authored-by: Evan Sonderegger <evan@rpy.xyz>
Co-authored-by: james-clemer-actblue <69259105+james-clemer-actblue@users.noreply.github.com>
Co-authored-by: crystaljg <70042918+crystaljg@users.noreply.github.com>
Co-authored-by: Crystal Gong <cgong@actbluetech.com>

* fix: upload artifacts in release process (#40)

* fix: upload artifacts in release process

* fix: erroneous steps

* fix: run wheels on all platforms

* fix: add inputs prefix to if conditionals in actions

* feat: bump version to 0.1.4

* feat: GH actions matrix

* fix: add exe ext to actions map

* feat: remove apt-get update

* fix: give windows the .exe extension, not linux

* feat: matrix for wheels as well

* test: speed up test workflow

* feat: split test workflow into two parallel tracks

test c and test python

* fix: missing actions checkout step added

* feat: remove non-wheel artifacts for PyPI publish (#41)

* test: use uppercase secrets

* feat: refactor pypiToken as reusable workflow input

* fix: pass secrets properly

* fix: pass secrets properly

* test: pass secrets appropriately

* test: inherit secrets

* test: remove type from secrets

* test: remove secrets section

Co-authored-by: Chris Zubak-Skees <chriszs@gmail.com>
Co-authored-by: Evan Sonderegger <evan@rpy.xyz>
Co-authored-by: james-clemer-actblue <69259105+james-clemer-actblue@users.noreply.github.com>
Co-authored-by: crystaljg <70042918+crystaljg@users.noreply.github.com>
Co-authored-by: Crystal Gong <cgong@actbluetech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants