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 version to v2 #33

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Update upload-artifact version to v2 #33

merged 1 commit into from
Jun 27, 2024

Conversation

chinglee-iot
Copy link
Member

Issue #, if available:

Description of changes:
Compare the log. It looks like extra zip is added in v4 github action. Revert it back to v2 for compatible with our release.yml file.
Success example : https://github.com/FreeRTOS/coreMQTT/actions/runs/9414959495/job/25934929029

Run actions/upload-artifact@v2
With the provided path, there will be 1 file uploaded
Starting artifact upload
For more detailed logs during the artifact upload process, enable step-debugging: https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging
Artifact name is valid!
Container for artifact "coreMQTT-v2.3.0.zip" successfully created. Starting upload of file(s)
Total size of all the files uploaded is 1908864 bytes
File upload process has finished. Finalizing the artifact upload
Artifact has been finalized. All files have been successfully uploaded!

The raw size of all the files that were specified for upload is 1908864 bytes
The size of all the files that were uploaded is 1908864 bytes. This takes into account any gzip compression used to reduce the upload size, time and storage

Note: The size of downloaded zips can differ significantly from the reported size. For more information see: https://github.com/actions/upload-artifact#zipped-artifact-downloads 

Artifact coreMQTT-v2.3.0.zip has been successfully uploaded!

Failed in the action : https://github.com/FreeRTOS/FreeRTOS-LTS/actions/runs/9692564847/job/26746156173
The log is observed "Artifact FreeRTOSv202406.00-LTS.zip.zip successfully finalized. Artifact ID 1643542101".

Run actions/upload-artifact@v4
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
Uploaded bytes 8388608
Uploaded bytes 16777216
Uploaded bytes 21671174
Finished uploading artifact content to blob storage!
SHA256 hash of uploaded artifact zip is 8d0f83de1d8e05a13088226bb83880be5bcf9a83165d4983f1edcfffba1cb260
Finalizing artifact upload
Artifact FreeRTOSv202406.00-LTS.zip.zip successfully finalized. Artifact ID 1643542101
Artifact FreeRTOSv202406.00-LTS.zip has been successfully uploaded! Final size is 21671174 bytes. Artifact ID is 1643542101
Artifact download URL: https://github.com/FreeRTOS/FreeRTOS-LTS/actions/runs/9692564847/artifacts/1643542101

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

@chinglee-iot chinglee-iot requested a review from a team as a code owner June 27, 2024 07:50
@chinglee-iot chinglee-iot merged commit 8d95796 into FreeRTOS:main Jun 27, 2024
3 checks passed
@chinglee-iot chinglee-iot deleted the fix-release-yml-upload-artifact-version branch June 27, 2024 07:57
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.

3 participants