File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -504,6 +504,9 @@ jobs:
504504 uses : StartAutomating/EZOut@master
505505 - name : UseHelpOut
506506 uses : StartAutomating/HelpOut@master
507+ - name : Run GQL (on branch)
508+ uses : ./
509+ id : ActionOnBranch
507510 - name : Log in to ghcr.io
508511 uses : docker/login-action@master
509512 with :
Original file line number Diff line number Diff line change 2323 },
2424 ' RunEZOut' ,
2525 ' RunHelpOut'
26- <# @{
27- name = 'Run HtmxPS (on branch)'
28- if = '${{github.ref_name != ''main''}}'
26+ @ {
27+ name = ' Run GQL (on branch)'
2928 uses = ' ./'
3029 id = ' ActionOnBranch'
31- },#>
30+ },
3231 ' BuildAndPublishContainer'
3332 )
3433}
Original file line number Diff line number Diff line change 1+ # requires -Module GQL
2+ if (-not $GitHubToken ) {
3+ Write-Warning " No GitHubToken found."
4+ return
5+ }
6+
7+ Push-Location $PSScriptRoot
8+
9+ # First, let's get the query
10+ gql - Query ./ GetSchemaTypes.gql - PersonalAccessToken $GitHubToken - Cache - OutputPath ./ GitHubGraphTypes.json
11+
12+ Pop-Location
You can’t perform that action at this time.
0 commit comments