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

Update upload-artifact and cache github action to most recent versions #10790

Merged

Conversation

offtherailz
Copy link
Member

@offtherailz offtherailz commented Jan 30, 2025

Description

This PR updates github actions versions for actions/cache@1-2 and actions/upload-artifact@v2to the most recent versions.

In particular

  • migrate cache actions because of deprecation notice.

    • No need particular changes as reported here so only version change should be enough.
  • migrate upload to v4 (only create-release) because of deprecation notice Properly tested on my fork, it worked.

  • Also fixed one warning about set-output ,deprecated. 6 warnings till remain caused by other actions that use that command internally. Anyway there is no deprecation notice with dismission yet on this feature so no problem for the moment.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

What is the current behavior?

#

What is the new behavior?

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

@offtherailz offtherailz added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Jan 30, 2025
@offtherailz offtherailz added this to the 2025.01.00 milestone Jan 30, 2025
@offtherailz offtherailz self-assigned this Jan 30, 2025
@offtherailz offtherailz requested a review from tdipisa January 30, 2025 11:28
@tdipisa tdipisa merged commit a5d99d2 into geosolutions-it:master Jan 31, 2025
6 checks passed
@tdipisa
Copy link
Member

tdipisa commented Jan 31, 2025

@offtherailz can you please backport to 2024.02.xx please?

offtherailz added a commit to offtherailz/MapStore2 that referenced this pull request Jan 31, 2025
geosolutions-it#10790)

* Update upload-artifact action

* Updated cache actions to v4

* Fixed set-output warning
tdipisa added a commit that referenced this pull request Jan 31, 2025
…to most recent versions (#10790) (#10792)

* Update upload-artifact and cache github action to most recent versions (#10790)

* Update upload-artifact action

* Updated cache actions to v4

* Fixed set-output warning

* Addressing build issue by changing antrun task to target

---------

Co-authored-by: Tobia Di Pisa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants