Add support for the modules dependencies. Module paths to be saved in cache are unique.
Refactoring and bug fixes around managing multiple repositories.
Add module name duplication checking. Previously you could call Save-Module several times for the same module.
Update actions/cache@v3.0.11 to actions/cache@v3.3.2
Update actions/checkout@v2.5.0 to actions/checkout@v4.1.0
Remove unused workflows.
-
Fix (#54). Some modules will be impossible to load under Ubuntu, in this case a warning is displayed in the workflow logs.
Fix (#51). If there is a module with the same name in several PSRepositories, we must now prefix the module name with the name of the desired repository: PSGallery\string.
Fix (#50). Module dependencies were not saved into a cache. Now each dependency is saved.
Fix (#47). Documentation: specifies the use of '::' (YAML syntax)
Fix (#45,#48). Some module packages are case-sensitive, and break the implicit (and informal) PascalCase naming rule.
On Linux, the path names passed as a parameter to the 'Cache' action must be constructed with the nuget package name and not with the name coming from the 'modules-to-cache' parameter of the 'PSModuleCache' action.
Fix the analyze of a module name.
Fix module name handling for case-sensitive filesystems. See the 'PsModuleCache\Test-ModuleNaming' function.
Fix module duplication when we call "Find-Module -name 'AZ' -IncludeDependencies". Example: the dependent module 'Az.Accounts v2.13.1' is duplicated 25 times.
Fix CleanWorkFlowsHistory.yml. Deleting workflow execution history caused an exception when calling ConvertFrom-Json. If the workflow execution history contains a large number of entries (+500) and the API returns a string of several megabytes that is impossible to convert.
Breaking changes
Now we check the existence of at least one repository.
The existence of a module with the same name in several PSRepositories will cause a blocking error.
We must now prefix a name of the duplicated module with the name of the desired repository.
Previously we sorted the elements by version number then we selected the first in the list.
Add support for the modules dependencies. Module paths to be saved in cache are unique.
Refactoring and bug fixes around managing multiple repositories.
Add module name duplication checking. Previously you could call Save-Module several times for the same module.
Update actions/cache@v3.0.11 to actions/cache@v3.3.2
Update actions/checkout@v2.5.0 to actions/checkout@v4.1.0
Remove unused workflows.
Fix (#54). Some modules will be impossible to load under Ubuntu, in this case a warning is displayed in the workflow logs.
Fix (#51). If there is a module with the same name in several PSRepositories, we must now prefix the module name with the name of the desired repository: PSGallery\string.
Fix (#50). Module dependencies were not saved into a cache. Now each dependency is saved.
Fix (#47). Documentation: specifies the use of '::' (YAML syntax)
Fix (#45,#48). Some module packages are case-sensitive, and break the implicit (and informal) PascalCase naming rule.
On Linux, the path names passed as a parameter to the 'Cache' action must be constructed with the nuget package name and not with the name coming from the 'modules-to-cache' parameter of the 'PSModuleCache' action.
Fix the analyze of a module name.
Fix module name handling for case-sensitive filesystems. See the 'PsModuleCache\Test-ModuleNaming' function.
Fix module duplication when we call "Find-Module -name 'AZ' -IncludeDependencies". Example: the dependent module 'Az.Accounts v2.13.1' is duplicated 25 times.
Fix CleanWorkFlowsHistory.yml. Deleting workflow execution history caused an exception when calling ConvertFrom-Json. If the workflow execution history contains a large number of entries (+500) and the API returns a string of several megabytes that is impossible to convert.
Breaking changes
Now we check the existence of at least one repository.
The existence of a module with the same name in several PSRepositories will cause a blocking error.
We must now prefix a name of the duplicated module with the name of the desired repository.
Previously we sorted the elements by version number then we selected the first in the list.
v5.3 (no release)
Fix (#43). Action fails when used with a container job. The 'SUDO' command may not exist in the container.
Fix (#38). Updating the setting of output parameters (Github Action).
Fix (#35). Change after Github Action commands deprecated.
Update 'Readme.md' file.
Commits
b3b931a Merge pull request #56 from LaurentDardenne/FeatureModuleDependencies
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps potatoqualitee/psmodulecache from 5.2 to 6.0.
Release notes
Sourced from potatoqualitee/psmodulecache's releases.
Changelog
Sourced from potatoqualitee/psmodulecache's changelog.
Commits
b3b931a
Merge pull request #56 from LaurentDardenne/FeatureModuleDependenciesd307360
Add support for the modules dependencies.25d0b00
Add "pester.autoRunOnSave": falsed499b70
Fix and rewriting.10e1524
Rename tests.03c44ca
Fix module name case sensitive (#46)ba99da9
Fix readme (#42)a6e4d8c
Allow action to run inside a container job (#44)3d23c36
Adding changes for the versions 5.1 and 5.2. (#41)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show