flathub-infra / flatpak-github-actions

Build your Flatpak application using Github Actions
https://github.com/marketplace/actions/flatpak-builder
MIT License
7 stars 4 forks source link

Deprecation notice: v1, v2, and v3 of the artifact actions #8

Closed RytoEX closed 2 months ago

RytoEX commented 5 months ago

The flatpak-builder action is pinning @actions/artifact to version 1.1.1-compatible (>=1.1.1 <2.0.0-0), which provides the old pre-v4 versions of actions/upload-artifact and actions/download-artifact. https://github.com/flathub-infra/flatpak-github-actions/blob/b178f8817454693197c001bd23ff185d99edff21/flatpak-builder/package.json#L15

This is causing CI warnings:

Deprecation notice: v1, v2, and v3 of the artifact actions The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "obs-studio-flatpak-5b2e2a9c6-x86_64.flatpak". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Updating @actions/artifact to v2+ should remove these warnings.

If compatibility with GitHub Enterprise Server (GHES) is important, please keep in mind the warning on the @actions/artifact repo:

@actions/artifact v2+, upload-artifact@v4+, and download-artifact@v4+ are not currently supported on GHES yet.