diff --git a/.github/workflows/Build-Module.yml b/.github/workflows/Build-Module.yml index 23d4ef3b..3dc37fe3 100644 --- a/.github/workflows/Build-Module.yml +++ b/.github/workflows/Build-Module.yml @@ -7,26 +7,11 @@ on: type: string description: The name of the module to process. Scripts default to the repository name if nothing is specified. required: false - Debug: - type: boolean - description: Enable debug output. - required: false - default: false - Verbose: - type: boolean - description: Enable verbose output. - required: false - default: false - Version: + ArtifactName: type: string - description: Specifies the version of the GitHub module to be installed. The value must be an exact version. - required: false - default: '' - Prerelease: - type: boolean - description: Whether to use a prerelease version of the 'GitHub' module. + description: Name of the artifact to upload. required: false - default: false + default: module WorkingDirectory: type: string description: The working directory where the script will run from. @@ -40,6 +25,8 @@ jobs: Build-Module: name: Build-Module runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ github.token }} steps: - name: Checkout Code uses: actions/checkout@v4 @@ -48,8 +35,5 @@ jobs: uses: PSModule/Build-PSModule@v4 with: Name: ${{ inputs.Name }} - Debug: ${{ inputs.Debug }} - Prerelease: ${{ inputs.Prerelease }} - Verbose: ${{ inputs.Verbose }} - Version: ${{ inputs.Version }} + ArtifactName: ${{ inputs.ArtifactName }} WorkingDirectory: ${{ inputs.WorkingDirectory }} diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1227576c..30ab8859 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -87,10 +87,6 @@ jobs: - Get-Settings with: Name: ${{ fromJson(needs.Get-Settings.outputs.Settings).Name }} - Debug: ${{ inputs.Debug }} - Prerelease: ${{ inputs.Prerelease }} - Verbose: ${{ inputs.Verbose }} - Version: ${{ inputs.Version }} WorkingDirectory: ${{ inputs.WorkingDirectory }} Build-Docs: diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index dc94bd8e..c2f7ac8c 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -89,10 +89,6 @@ jobs: - Get-Settings with: Name: ${{ fromJson(needs.Get-Settings.outputs.Settings).Name }} - Debug: ${{ inputs.Debug }} - Prerelease: ${{ inputs.Prerelease }} - Verbose: ${{ inputs.Verbose }} - Version: ${{ inputs.Version }} WorkingDirectory: ${{ inputs.WorkingDirectory }} Build-Docs: