Skip to content

Commit

Permalink
fix: Testing action in branch ( Fixes #288 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Sep 25, 2024
1 parent 40d9aa1 commit 76ddfa6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/TestAndPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,14 @@ jobs:
- name: Use PSSVG Action
uses: StartAutomating/PSSVG@main
id: PSSVG
- name: Run ugit (from main)
if: ${{github.ref_name == 'main'}}
uses: StartAutomating/ugit@main
id: ugitMain
- name: Run ugit (on branch)
if: ${{github.ref_name != 'main'}}
uses: ./
id: ugitBranch
- name: BuildPipeScript
uses: StartAutomating/PipeScript@main
- name: UsePiecemeal
Expand Down
12 changes: 12 additions & 0 deletions Build/GitHub/Jobs/buildugit.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@
uses = 'StartAutomating/PSSVG@main'
id = 'PSSVG'
},
@{
name = 'Run ugit (from main)'
if = '${{github.ref_name == ''main''}}'
uses = 'StartAutomating/ugit@main'
id = 'ugitMain'
},
@{
name = 'Run ugit (on branch)'
if = '${{github.ref_name != ''main''}}'
uses = './'
id = 'ugitBranch'
}
'RunPipeScript',
'RunPiecemeal',
'RunEZOut',
Expand Down

0 comments on commit 76ddfa6

Please sign in to comment.