Skip to content

MAINT: Update upload-artifact and download-artifact actions from v3 to v4#2352

Merged
MartinThoma merged 1 commit intopy-pdf:mainfrom
stefan6419846:actions-update
Dec 20, 2023
Merged

MAINT: Update upload-artifact and download-artifact actions from v3 to v4#2352
MartinThoma merged 1 commit intopy-pdf:mainfrom
stefan6419846:actions-update

Conversation

@stefan6419846
Copy link
Copy Markdown
Collaborator

This is a general fix which covers #2344, #2345 and #2350, including some incompatible changes as detailed in #2344 (comment).

The key point is that both actions have to be updated at the same time to avoid conflicts. Additionally, artifacts of the same name are not supported anymore, thus I decided to go the recommended route from https://github.com/actions/upload-artifact?tab=readme-ov-file#not-uploading-to-the-same-artifact to include the matrix parameters inside the artifact names.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (908797f) 94.47% compared to head (b9dc26b) 94.47%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2352   +/-   ##
=======================================
  Coverage   94.47%   94.47%           
=======================================
  Files          43       43           
  Lines        7564     7564           
  Branches     1491     1491           
=======================================
  Hits         7146     7146           
  Misses        259      259           
  Partials      159      159           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MartinThoma MartinThoma merged commit fd0a482 into py-pdf:main Dec 20, 2023
@MartinThoma
Copy link
Copy Markdown
Member

Good work 👍

Thank you for fixing this issue 🙏

MartinThoma added a commit that referenced this pull request Dec 24, 2023
## What's new

### Bug Fixes (BUG)
-  Handle IndirectObject as image filter (#2355) by @stefan6419846

### Documentation (DOC)
-  Quote specs in generate_file_identifiers (#2363) by @exiledkingcc
-  Notes about form fields and annotations (#1945) by @dmjohnsson23
-  Notes about update_page_form_field_values(auto_regenerate) (#2359) by @dmjohnsson23
-  Fix stamping example (#2358) by @dmjohnsson23
-  Stamp images directly on a PDF (#2357) by @dmjohnsson23
-  Correct the example of adding highlight annotation (#2341) by @Tobeabellwether

### Maintenance (MAINT)
-  Update upload-artifact and download-artifact actions from v3 to v4 (#2352) by @stefan6419846

### Testing (TST)
-  Add xfail test for #2336 (#2365) by @MartinThoma
-  Increase test coverage for flate handling of image mode 1 (#2339) by @stefan6419846

### Code Style (STY)
-  File identifier generation restructuring (#2362) by @exiledkingcc
-  Add PdfWriter._ID attribute (#2361) by @exiledkingcc
-  Variable naming convention (#2360) by @MartinThoma

[Full Changelog](3.17.3...3.17.4)
@stefan6419846 stefan6419846 deleted the actions-update branch December 24, 2023 15:39
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.

2 participants