Skip to content

Commit bc9a56b

Browse files
authored
V13: update used GHA versions (#3446)
* Update build-and-publish_v13.yml * Update build-nightly_v13.yml * Update build-nightly_v13.yml * Update build-nightly_v13.yml
1 parent 5ae8a64 commit bc9a56b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/build-and-publish_v13.yml

Lines changed: 3 additions & 3 deletions
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

@@ -36,10 +36,10 @@ jobs:
3636
run: dotnet pack .\PKSim.sln --no-build --no-restore -o ./ -p:PackageVersion=${{env.APP_VERSION}} --configuration=Debug
3737

3838
- name: Push test log as artifact
39-
uses: actions/upload-artifact@v4
39+
uses: actions/upload-artifact@v7
4040
with:
4141
name: testLog_Windows
4242
path: /testLog*.html
4343

4444
- name: Publish to GitHub registry
45-
run: dotnet nuget push *.nupkg --source https://nuget.pkg.github.com/${{github.repository_owner}}/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
45+
run: dotnet nuget push *.nupkg --source https://nuget.pkg.github.com/${{github.repository_owner}}/index.json --api-key ${{ secrets.GITHUB_TOKEN }}

.github/workflows/build-nightly_v13.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

@@ -61,7 +61,7 @@ jobs:
6161
dotnet build PKSim.sln /p:Version=${{env.APP_VERSION}} -p:ExcludeDesigner=true
6262
6363
- name : Test
64-
run: dotnet test PKSim.sln -v normal --no-build --logger:"html;LogFileName=../testLog_Windows.html"
64+
run: dotnet test PKSim.sln -v normal --no-build --logger:"html;LogFileName=${{ github.workspace }}/testLog_Windows.html"
6565

6666
- name: Sign PKSim.exe with CodeSignTool
6767
uses: Open-Systems-Pharmacology/Workflows/.github/actions/codesigner-SSL@main
@@ -109,19 +109,19 @@ jobs:
109109
file_path: ./setup/deploy/PK-Sim.${{ env.APP_VERSION }}.msi
110110

111111
- name: Push test log as artifact
112-
uses: actions/upload-artifact@v4
112+
uses: actions/upload-artifact@v7
113113
with:
114114
name: testLog_Windows
115115
path: ./testLog*.html
116116

117117
- name: Push nightly installer as artifact
118-
uses: actions/upload-artifact@v4
118+
uses: actions/upload-artifact@v7
119119
with:
120120
name: PKSim Installer ${{env.APP_VERSION}}
121121
path: setup\deploy\*.msi
122122

123123
- name: Push nightly portable as artifact
124-
uses: actions/upload-artifact@v4
124+
uses: actions/upload-artifact@v7
125125
with:
126126
name: PKSim Portable ${{env.APP_VERSION}}
127127
path: setup\PK-Sim ${{env.APP_VERSION}}

0 commit comments

Comments
 (0)