diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 6747d40a5..cac01030b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,20 +1,15 @@ name: nightly on: - workflow_dispatch : -# branches : -# - dev schedule: - cron: '0 10 * * *' + workflow_dispatch : jobs: - build: - strategy: - matrix: - configuration: [Release] - - runs-on: [self-hosted, Windows, X64, APP] # For a list of available runner types, refer to - # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on + run-on-dev: + if: github.ref == 'refs/heads/dev' + runs-on: [self-hosted, Windows, X64, AX, APP] + steps: - name: Checkout uses: actions/checkout@v3 @@ -28,4 +23,4 @@ jobs: env: GH_TOKEN : ${{ secrets.GH_TOKEN }} GH_USER : ${{ secrets.GH_USER }} - run: dotnet run --project cake/Build.csproj --do-test --do-pack --test-level 100 --apps-run + run: dotnet run --project cake/Build.csproj --apps-run diff --git a/.github/workflows/pr-dev.yml b/.github/workflows/pr-dev.yml index eee2bc888..808bbeb24 100644 --- a/.github/workflows/pr-dev.yml +++ b/.github/workflows/pr-dev.yml @@ -6,7 +6,7 @@ on: paths: - 'src/**' - 'cake/**' - - '.github/**' + # - '.github/**' # temporarily removed just to tune nightly faster workflow_dispatch: jobs: diff --git a/scripts/create_issue_branch.ps1 b/scripts/_create_issue_branch.ps1 similarity index 100% rename from scripts/create_issue_branch.ps1 rename to scripts/_create_issue_branch.ps1 diff --git a/scripts/create_new_issue.ps1 b/scripts/create_new_issue.ps1 index a2e0f534f..621a7f8b0 100644 --- a/scripts/create_new_issue.ps1 +++ b/scripts/create_new_issue.ps1 @@ -15,7 +15,7 @@ if ($issue -match ".*/(\d+)$") { $scriptDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent # Construct the full path to SecondScript.ps1 - $create_issue_branchScriptPath = Join-Path -Path $scriptDir -ChildPath "create_issue_branch.ps1" + $create_issue_branchScriptPath = Join-Path -Path $scriptDir -ChildPath "_create_issue_branch.ps1" # Call create_issue_branch.ps1 with the parameter IssueId & $create_issue_branchScriptPath -IssueId $issueID