Skip to content

Commit 8d920d8

Browse files
committed
Update github action
1 parent d3303b6 commit 8d920d8

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.github/actions/FMUBuild/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
steps:
1717
- id: dockerurl
1818
name: get docker repo url
19-
uses: ASzc/change-string-case-action@v1
19+
uses: ASzc/change-string-case-action@v6
2020
with:
2121
string: ${{ github.actor }}/${{ github.event.repository.name }}
2222

@@ -47,7 +47,7 @@ runs:
4747
4848
- id: lowercasetag
4949
name: "Make the docker tag lower case"
50-
uses: ASzc/change-string-case-action@v1
50+
uses: ASzc/change-string-case-action@v6
5151
with:
5252
string: ${{ env.DOCKERTAG }}
5353

@@ -58,12 +58,12 @@ runs:
5858

5959
- name: rename output
6060
shell: bash
61-
run: mv -n deps/fmu.tar.gz $DST
61+
run: mv -n deps/fmu.tar.gz $DST || echo "Target destination = source destination, skipping..."
6262
env:
6363
DST: ${{ inputs.file_name }}
6464

6565
- name: Upload artifacts
66-
uses: actions/upload-artifact@v3
66+
uses: actions/upload-artifact@v4
6767
with:
6868
name: ${{ inputs.artifact_name }}
6969
path: ${{ inputs.file_name }}

.github/workflows/Documentation.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
cd ../../..
5757

5858
- name: "Upload artifacts"
59-
uses: actions/upload-artifact@v3
59+
uses: actions/upload-artifact@v4
6060
with:
6161
name: svgs
6262
path: docs/src/graphics/svg.tar.gz
@@ -66,21 +66,19 @@ jobs:
6666
needs:
6767
- render
6868
- build-fmus
69-
env:
70-
JULIA_NUM_THREADS: $(nproc)
7169
steps:
7270
- name: "Check out repository"
7371
uses: actions/checkout@v3
7472
- name: "Download svg artifacts"
75-
uses: actions/download-artifact@v3
73+
uses: actions/download-artifact@v4
7674
with:
7775
name: svgs
7876
path: docs/src/graphics
7977
- name: "Extract svgs"
8078
run:
8179
tar -xzf docs/src/graphics/svg.tar.gz -C docs/src/graphics
8280
- name: "Download FMU artifacts"
83-
uses: actions/download-artifact@v3
81+
uses: actions/download-artifact@v4
8482
with:
8583
name: fmus
8684
path: deps/

.github/workflows/Test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
needs:
2323
- build-fmus
2424
runs-on: ${{ matrix.os }}
25-
env:
26-
JULIA_NUM_THREADS: $(nproc)
2725
strategy:
2826
fail-fast: false
2927
matrix:
@@ -50,7 +48,7 @@ jobs:
5048
${{ runner.os }}-test-
5149
${{ runner.os }}-
5250
- name: "Download FMUs"
53-
uses: actions/download-artifact@v3
51+
uses: actions/download-artifact@v4
5452
with:
5553
name: fmus
5654
path: deps

0 commit comments

Comments
 (0)