Skip to content
name: PowerShell Module CI
on:
pull_request:
- paths: "Powershell/JumpCloud Module/**"
# types: [synchronize]
# branches:
# # Branch with JumpCloudModule_ on it
# - 'JumpCloudModule_/**'

Check failure on line 8 in .github/workflows/powershell-module-ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/powershell-module-ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
jobs:
clone:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
check_branch:
runs-on: ubuntu-latest
steps:
- name: Check Base Branch Name
# Find out base branch name
run: |
echo "Base Branch Name: ${{ github.base_ref }}12"
echo "Head Branch Name: ${{ github.head_ref }}"
echo "Head Branch Name: ${{ github.ref }}"
Publish-PowerShell-Artifact:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
Source: "CodeArtifact"
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
PowerShell
- shell: pwsh
run: |
. "./PowerShell/Deploy/BuildNuspecFromPsd1.ps1" -RequiredModulesRepo PSGallery