-
Notifications
You must be signed in to change notification settings - Fork 8
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 Artifact Actions to use > v4.0.0 #77
Conversation
We will need to update https://github.com/hashicorp/actions-docker-build/blob/main/.github/workflows/test.yml#L255 for the tests too :) |
6a32ec4
to
f818ae0
Compare
Parallel tl;dr: |
- The current major version (v3) of the artifact actions uses a deprecated version of NodeJS v16. This commit updates the artifact actions to use v4 which includes a supported version of NodeJS v20. - Update test action references - Set overwrite to true to mimic previous behavior - Update example workflow
f818ae0
to
196f312
Compare
Is it possible to get this PR merged and released soon? We don't have long until node16 support is dropped (may 13) |
…e and may not actually matter. ideal-enigma doesn't care - need to check with v0 code too) remove debug statements
164aff3
to
3802549
Compare
action.yml
Outdated
env: | ||
# Add _redhat if this is a redhat call. | ||
REDHAT_SUFFIX: ${{ inputs.redhat_tag && '_redhat' || '' }} | ||
RANDOM: "${{ env.RANDOM_STRING }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this if we don't use it?
.github/workflows/example.yml
Outdated
with: | ||
path: example/${{ env.product_name }}_${{ env.product_version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip | ||
name: ${{ env.product_name }}_${{ env.product_version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip | ||
if-no-files-found: error | ||
overwrite: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need the overwrite here?
Wohoo! Thankyou |
Justification
update actions/download-artifact used by hashicorp/actions-docker-build
Summary
Quality
All changes to behavior should be accompanied by relevant tests which both document and protect it.
This PR includes: