Skip to content

Commit d3e4114

Browse files
Yuri05Yuri05
andauthored
Added build-nightly_13.yml (#3444)
* Added build-nightly_13.yml Upgraded used GHA to the latest versions * Adjusted build-nightly_v13.yml to only check the branch --------- Co-authored-by: Yuri05 <Yuri05@github.com>
1 parent 0a83906 commit d3e4114

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

.github/workflows/build-nightly_12.3.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
LATEST_COMMIT_TIMESPAN: ${{ steps.get-latest-commit-timespan.outputs.LATEST_COMMIT_TIMESPAN}}
2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v6
2424
with:
2525
fetch-depth: 0
2626

@@ -43,7 +43,7 @@ jobs:
4343
runs-on: windows-latest
4444
steps:
4545
- name: Checkout code
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v6
4747
with:
4848
submodules: 'true'
4949

@@ -118,25 +118,25 @@ jobs:
118118

119119
- name: Push test log as artifact
120120
if: always()
121-
uses: actions/upload-artifact@v4
121+
uses: actions/upload-artifact@v7
122122
with:
123123
name: testLog_Windows
124124
path: ./testLog*.html
125125

126126
- name: Push nightly installer as artifact
127-
uses: actions/upload-artifact@v4
127+
uses: actions/upload-artifact@v7
128128
with:
129129
name: PKSim Installer ${{env.APP_VERSION}}
130130
path: setup\deploy\*.msi
131131

132132
- name: Push nightly portable as artifact
133-
uses: actions/upload-artifact@v4
133+
uses: actions/upload-artifact@v7
134134
with:
135135
name: PKSim Portable ${{env.APP_VERSION}}
136136
path: setup\PK-Sim ${{env.APP_VERSION}}
137137

138138
- name: Push R dependencies as artifact
139-
uses: actions/upload-artifact@v4
139+
uses: actions/upload-artifact@v7
140140
with:
141141
name: PKSim R Dependencies
142142
path: src\PKSimRDependencyResolution\bin\Debug\${{env.TARGET_FRAMEWORK}}\pk-sim-r-dependencies.zip
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build Nightly 13.0
2+
run-name: Version 13.0.${{ github.run_number }}
3+
4+
on:
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
9+
packages: read
10+
11+
jobs:
12+
check-branch:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Validate source branch
16+
run: |
17+
if [ "${{ github.ref_name }}" != "V13" ]; then
18+
echo "::error::Please call the workflow from the V13 branch"
19+
exit 1
20+
fi

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: windows-latest
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818
with:
1919
submodules: 'true'
2020

0 commit comments

Comments
 (0)