We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! When I run action and when the Run Amadevus/pwsh-script@v2 executes - there is an Error
Error: Invoke-Expression : Cannot bind argument to parameter 'Path' because it is null. At /home/runner/work/_actions/Amadevus/pwsh-script/v2/action.ps1:21 char:23 $Private:result = Invoke-Expression $Private:scriptFile ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : InvalidData: (:) [Invoke-Expression], ParameterBindingValidationException FullyQualifiedErrorId : >ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.InvokeExpressionCommand Error: Process completed with exit code 1.
Error: Invoke-Expression : Cannot bind argument to parameter 'Path' because it is null. At /home/runner/work/_actions/Amadevus/pwsh-script/v2/action.ps1:21 char:23 $Private:result = Invoke-Expression $Private:scriptFile ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : InvalidData: (:) [Invoke-Expression], ParameterBindingValidationException FullyQualifiedErrorId : >ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.InvokeExpressionCommand
Error: Process completed with exit code 1.
Here is the Action yaml: ` name: Convert Contact List on: workflow_dispatch: schedule: - cron: "* */3 * * *"
jobs: build: name: Run Script runs-on: ubuntu-latest steps: - uses: actions/checkout@v3
- uses: Amadevus/pwsh-script@v2 id: script env: GH_TOKEN: ${{ github.token }} with: script: | # ------ AnyTone ------ # $DMRIdsContent = Get-Content ./DMRIds.dat - name: Update files in repository uses: actions-x/commit@v6 with: email: "[email protected]" name: GitHub Actions Autocommitter branch: master files: Devices_Contact_List/* repository: https://github.com/${{ github.repository }} token: ${{ github.token }} force: true
`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
When I run action and when the Run Amadevus/pwsh-script@v2 executes - there is an Error
Here is the Action yaml:
`
name: Convert Contact List
on:
workflow_dispatch:
schedule:
- cron: "* */3 * * *"
jobs:
build:
name: Run Script
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
`
The text was updated successfully, but these errors were encountered: