spacetelescope / synphot_refactor

Synthetic photometry using Astropy
http://synphot.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
38 stars 25 forks source link

MNT: upgrade upload/download-artifact GitHub actions #370

Closed neutrinoceros closed 8 months ago

neutrinoceros commented 8 months ago

Description

Hi, version 4 of upload-artifact and download-artifact were recently released. Staying on old version is not viable long term because GitHub will sooner or later drop support for the old versions of node that these depend on. Since migration to v4 is not as straightfoward as bumping the version number, I'm helping all astropy-related packages byt manually performing the necessary changes.

github-actions[bot] commented 8 months ago

Thank you for your contribution! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a8d4b56) 96.80% compared to head (ab8dc04) 96.80%. Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #370 +/- ## ======================================= Coverage 96.80% 96.80% ======================================= Files 17 17 Lines 2034 2034 ======================================= Hits 1969 1969 Misses 65 65 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pllim commented 8 months ago

Hello! It looks like I did not configure the publish workflow to ever run for a PR. Maybe let me fix that and then you can rebase, so we know it works before merge? Thanks for your patience!

neutrinoceros commented 8 months ago

sure, by all means !

neutrinoceros commented 8 months ago

@pllim thanks for updating this branch. I think the failure is unrelated, can you re-trigger the job ?

pllim commented 8 months ago

@neutrinoceros , they didn't fail. I cancelled them because I realized I needed to enable artifact upload/download also for non-release events. I am still debating with myself whether I should disable them again after it is proven or not.

pllim commented 8 months ago

Ah... I mixed the release env stuff into dist build job too. I need to ponder this. (#371)

pllim commented 8 months ago

Also, yes, I thought about migrating to OpenAstronomy template but resisted because I got the Trusted Publishing already set up here and that does not play well with templating (yet).