Skip to content

Commit

Permalink
test branches
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaranionjc committed Oct 3, 2023
1 parent 27caddf commit 3d0ff81
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/powershell-module-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check Base Branch Name
# Find out base branch name
run: |
if [[ ${{ github.ref }} == 'refs/heads/main' ]]; then
echo "This is the main branch1"
exit 1
fi
echo "Base Branch Name: ${{ github.base_ref }}"
echo "Head Branch Name: ${{ github.head_ref }}"
echo "Head Branch Name: ${{ github.ref }}"
Publish-PowerShell-Artifact:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down

0 comments on commit 3d0ff81

Please sign in to comment.