Conversation
… action.yml - Updated cache keys to include 'aptos-setup' and 'movefmt-version' for better cache management. - Removed the previous cache step for movefmt and integrated its logic into the Aptos caching process. - Adjusted conditional checks to ensure proper installation flow based on cache hits.
- Changed the default installation directory from $HOME/.aptoscli to ~/.aptoscli for consistency and clarity.
…nvironment variables for better compatibility across systems
…install directory
- Updated installation scripts for both Aptos and movefmt CLIs to consistently handle the install directory, replacing instances of `${{ inputs.install-dir }}` with a variable that resolves to the user's home directory when necessary.
- Improved clarity and maintainability of the code by using a single variable for the install directory across different OS checks.
…configurations - Changed the default install directory for Aptos CLI from ~/.aptoscli to .aptoscli for better compatibility. - Refined cache key generation in action.yml to utilize architecture name for enhanced cache management. - Added macOS x64 to the testing matrix in test.yml to expand testing coverage across platforms.
- Updated the cache key format to include additional parameters such as install directory, username, and repository for improved cache management and specificity. - This change enhances the caching mechanism by ensuring unique keys based on user-specific configurations.
…README - Removed the `install-dir` input from action.yml, standardizing the installation path to `$HOME/.aptoscli` for all platforms. - Updated caching logic to reflect the new installation directory, ensuring consistent behavior across different operating systems. - Revised README to document the changes in the installation path and clarify the default behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… action.yml