Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PSModule/Install-PSModuleHelpers

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Install-PSModuleHelpers

A GitHub Action to install and configure the PSModule helper modules for use in continuous integration and delivery (CI/CD) workflows. This action is a critical component for setting up a standardized PowerShell environment across repositories using the PSModule framework.

This GitHub Action is a part of the PSModule framework. It is recommended to use the Process-PSModule workflow to automate the whole process of managing the PowerShell module.

What this action does

  • Removes any existing instances of the Helpers module from the PowerShell session.
  • Copies the latest version of the Helpers module into the PowerShell module directory.
  • Imports the Helpers module, ensuring it is available for subsequent steps.

This action helps maintain consistency and reliability across workflows that depend on the PSModule framework.

Usage

- name: Install PSModule Helpers
  uses: PSModule/Install-PSModuleHelpers@v1

Inputs

No inputs required.

Secrets

No secrets required.

Outputs

This action does not provide any outputs.

Example

Here's a complete workflow example demonstrating how to use the Install-PSModuleHelpers action:

name: CI

on:
  push:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4

      - name: Install PSModule Helpers
        uses: PSModule/Install-PSModuleHelpers@v1

      - name: Run additional steps
        shell: pwsh
        run: |
          # Example usage of imported Helpers module
          Get-Command -Module Helpers

About

A GitHub action that installs the PSModule library

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Generated from PSModule/Template-Action
Morty Proxy This is a proxified and sanitized view of the page, visit original site.