Skip to content

Fix CI: update deprecated GitHub Actions and guard the release job - #38

Merged
mkovelam merged 1 commit into
aws:mainfrom
aebothra-amz:fix-ci-deprecated-actions
Nov 12, 2026
Merged

mkovelam merged 1 commit into
aws:mainfrom
aebothra-amz:fix-ci-deprecated-actions

Conversation

@aebothra-amz

Copy link
Copy Markdown
Collaborator

The self-test jobs fail at "Set up job": "automatically failed because it uses a deprecated version of actions/upload-artifact: v1". This also blocks Publish Release, which is needed to ship #37 (CloudSec P560887515).

  • Update all actions to current major versions (setup-java now uses Corretto 8).
  • Give the status artifacts unique names (required by upload-artifact@v4), and replace ::set-output with $GITHUB_OUTPUT.
  • Publish releases only from pushes to main, and skip publishing when the tag already exists, so 0.2.4 isn't overwritten.

Release plan: merge this, rebase #37 and bump build.gradle to 0.2.5 in it, then merge #37, which publishes 0.2.5.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The self-test jobs fail at startup because actions/upload-artifact@v1 (and
the other v1/v2 actions) are deprecated. Update all actions to current
major versions, give the status artifacts unique names (required by
upload-artifact@v4), replace ::set-output with GITHUB_OUTPUT, publish
releases only from pushes to main, and skip publishing when the release tag
already exists so 0.2.4 is not overwritten.
@mkovelam
mkovelam merged commit f6a6be4 into aws:main Nov 12, 2026
6 checks passed
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