Skip to content

Conversation

@Vandita2020
Copy link
Contributor

Description:
This PR is to support downloading the code for a pattern easily. By creating a release for each pattern code, it'll be easy to download the code for a user by just downloading the respective asset of that pattern.

This PR adds a new GitHub Action that will create a release (v1.0.0) with all pattern folders saved as asset in the release. If the PR already exists and there are new changes to the repo, it'll update the respective asset in the release.

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

fi
done < changed_folders.txt

- name: Clean up

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused, I believe Github Actions uses ephemeral storage. Is there a specific reason we clean up here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, GitHub Actions uses virtual machines that get disposed completely once the process is done. I added clean up here for good practice. This could be removed and it won't make any difference.

@julianwood julianwood merged commit 5338e28 into aws-samples:main Aug 16, 2024
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.

4 participants