Skip to content

Commit

Permalink
fix: Irregular Action - Testing on Branch ( Fixes #233 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Sep 22, 2024
1 parent 95bee0c commit 9229113
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/IrregularTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,14 @@ jobs:
- name: Use PSSVG Action
uses: StartAutomating/PSSVG@main
id: PSSVG
- name: Use Irregular Action
uses: StartAutomating/Irregular@master
id: Irregular
- name: Run Irregular (from main)
if: ${{github.ref_name == 'master'}}
uses: StartAutomating/Irregular@main
id: IrregularMain
- name: Run Irregular (on branch)
if: ${{github.ref_name != 'master'}}
uses: ./
id: IrregularBranch
- name: BuildPipeScript
uses: StartAutomating/PipeScript@main
- name: UseEZOut
Expand Down
17 changes: 11 additions & 6 deletions Build/GitHub/Steps/UseIrregularAction.psd1
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
@{
name = 'Use Irregular Action'
uses = 'StartAutomating/Irregular@master'
id = 'Irregular'
}


name = 'Run Irregular (from main)'
if = '${{github.ref_name == ''master''}}'
uses = 'StartAutomating/Irregular@main'
id = 'IrregularMain'
},
@{
name = 'Run Irregular (on branch)'
if = '${{github.ref_name != ''master''}}'
uses = './'
id = 'IrregularBranch'
}

0 comments on commit 9229113

Please sign in to comment.