Skip to content

Commit

Permalink
Nightly tunning (#513)
Browse files Browse the repository at this point in the history
* Create draft PR for #512

* Update nightly
  • Loading branch information
TomKovac authored Jan 15, 2025
1 parent 1b00c2d commit c9a1a0a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 13 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/pr-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
paths:
- 'src/**'
- 'cake/**'
- '.github/**'
# - '.github/**' # temporarily removed just to tune nightly faster
workflow_dispatch:

jobs:
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/create_new_issue.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9a1a0a

Please sign in to comment.