Skip to content

Commit

Permalink
updating actions #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Jan 25, 2024
1 parent 187287b commit dd13f31
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 35 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: Cloning SUMO
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: sumo
fetch-depth: 0
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

- name: Cloning jupedsim
if: matrix.build_type == 'full' && github.repository == 'DLR-TS/sumo'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: PedestrianDynamics/jupedsim
ref: ${{ matrix.jps_version }}
Expand Down Expand Up @@ -134,14 +134,14 @@ jobs:

- name: Uploading test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: texttesttmp-${{ matrix.compiler }}-${{ matrix.build_type }}
path: texttesttmp.zip
if-no-files-found: warn

- name: Uploading artifacts (SUMO binaries)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Linux-${{ matrix.compiler }}-${{ matrix.build_type }}
path: sumo/bin
6 changes: 3 additions & 3 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Cloning SUMO
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: sumo
fetch-depth: 0
Expand Down Expand Up @@ -70,13 +70,13 @@ jobs:
make CTEST_OUTPUT_ON_FAILURE=1 examples test
- name: Uploading artifacts (SUMO binaries)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: macOS
path: sumo/bin

- name: Uploading FMI 2.0 FMU artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sumo-fmi2-darwin64
path: sumo/bin/sumo-fmi2-darwin64.fmu
10 changes: 5 additions & 5 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Cloning SUMO
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: sumo
fetch-depth: 0
Expand All @@ -38,13 +38,13 @@ jobs:
git fetch --tags --force
- name: Cloning SUMO Libraries
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: DLR-TS/SUMOLibraries
path: sumolibraries

- name: "Set up compiler cache"
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: C:\Users\runneradmin\AppData\Local\Mozilla\sccache\cache
key: ${{ matrix.build_type }}-${{ github.head_ref }}-${{ github.run_number }}
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
cmake --build . --config Release --target traas
- name: Uploading artifacts (SUMO binaries)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Windows-${{ matrix.build_type }}
path: sumo/bin
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Uploading test results
if: failure() && github.repository == 'DLR-TS/sumo'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: texttesttmp-${{ matrix.build_type }}
path: D:/texttest/tt.zip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Cloning repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Installing plantuml
run: |
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:

steps:
- name: Cloning repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Lychee Link Checker
uses: lycheeverse/lychee-action@v1
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/jupedsim-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Cloning jupedsim
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: PedestrianDynamics/jupedsim
ref: ${{ matrix.jps_version }}
Expand All @@ -40,13 +40,13 @@ jobs:
cmake --install jupedsim-build-${{ matrix.build_config }} --config ${{ matrix.build_config }}
- name: Uploading artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jupedsim-${{ matrix.jps_version }}-${{ matrix.build_config }}
path: jupedsim-install-${{ matrix.build_config }}

- name: Cloning SUMO
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: sumo
fetch-depth: 0
Expand All @@ -57,7 +57,7 @@ jobs:
git fetch --tags --force
- name: Cloning SUMO Libraries
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: DLR-TS/SUMOLibraries
path: sumolibraries
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Uploading test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: texttesttmp-${{ matrix.jps_version }}-${{ matrix.build_config }}
path: D:/texttest/tt.zip
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/wheel-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Cloning SUMO
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -55,13 +55,13 @@ jobs:
# entrypoint: tools/build_config/build_wheels.sh

# - name: Uploading raw wheels (without auditwheel being applied)
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: manylinux-raw-wheels
# path: dist

- name: Uploading artifacts (Python wheels)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: manylinux-wheels
path: wheelhouse
Expand All @@ -79,7 +79,7 @@ jobs:

steps:
- name: Cloning SUMO
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Downloading Wheels artifact
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- name: Uploading test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: texttesttmp-${{ matrix.python_version }}
path: texttesttmp.zip
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wheel-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Cloning SUMO
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
if [[ "${{ matrix.python_version }}" == "3.8" ]]; then mv dist/eclipse_sumo-* `echo dist/eclipse_sumo-* | sed 's/cp38-cp38/py2.py3-none/'`; fi
- name: Uploading artifacts (Python wheels)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-wheels
path: dist
Expand All @@ -84,7 +84,7 @@ jobs:

steps:
- name: Cloning SUMO
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
- name: Uploading test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: texttesttmp-${{ matrix.python_version }}-${{ matrix.os }}
path: texttesttmp.zip
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/wheel-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:

steps:
- name: Cloning SUMO
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Fetching SUMO tags
run: git fetch --tags --force

- name: Cloning SUMO Libraries
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: DLR-TS/SUMOLibraries
path: sumolibraries
Expand All @@ -57,7 +57,7 @@ jobs:
architecture: x64

- name: "Set up compiler cache"
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: C:\Users\runneradmin\AppData\Local\Mozilla\sccache\cache
key: ${{ matrix.build_type }}-${{ matrix.python_version }}-${{ github.head_ref }}-${{ github.run_number }}
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
python -c "import glob, os; f = glob.glob(\`"dist/eclipse_sumo-*\`")[0]; os.rename(f, f.replace(\`"cp38-cp38\`", \`"py2.py3-none\`"))"
- name: Uploading artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-${{ matrix.build_type }}-wheels
path: dist
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:

steps:
- name: Cloning SUMO
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:

- name: Uploading test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: texttesttmp-${{ matrix.python_version }}
path: D:/tt.zip
Expand Down

0 comments on commit dd13f31

Please sign in to comment.