Skip to content

Commit

Permalink
updated actions/upload-artifact@v1/2/3 -> v4
Browse files Browse the repository at this point in the history
  • Loading branch information
v-jameslongo committed Oct 18, 2024
1 parent 8753bf2 commit 423b915
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
cd doc/cpp/
doxygen
- name: Upload built docs
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: cxx_docs
path: doc/cpp/html/
Expand All @@ -54,7 +54,7 @@ jobs:
cd bindings/python/docs
make html SPHINXBUILD=/opt/python/cp38-cp38/bin/sphinx-build
- name: Upload built docs
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: python_docs
path: bindings/python/docs/build/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
echo "Found nuget package: ${NugetFileName[0]}"
echo "NugetFileName=${NugetFileName[0]}" >> $GITHUB_OUTPUT
- name: Upload package
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: RLClientLibNativeStatic-${{ matrix.toolset }}-${{ matrix.build_type }}-x64.${{ steps.get_version.outputs.version }}.nupkg
path: nuget_staging/${{ steps.nuget_name.outputs.NugetFileName }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_python_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
${{ matrix.config.base_path }}bin/pip wheel . -w wheel_output/ --verbose
auditwheel repair wheel_output/*whl -w audit_output/
- name: Upload built wheel
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: wheel_${{ matrix.config.version }}
path: audit_output/
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/dotnet_nugets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ jobs:
run: cmake --build build --config RelWithDebInfo -t rl.net

- if: ${{ startsWith(matrix.config.os, 'windows') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifacts
path: build/binaries/*.dll

- if: ${{ startsWith(matrix.config.os, 'windows') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: symbols
path: build/binaries/*.pdb
Expand All @@ -99,13 +99,13 @@ jobs:
strip --strip-debug --strip-unneeded build/bindings/cs/rl.net.native/librlnetnative.so
- if: ${{ startsWith(matrix.config.os, 'ubuntu') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifacts
path: build/bindings/cs/rl.net.native/librlnetnative.so

- if: ${{ startsWith(matrix.config.os, 'ubuntu') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: symbols
path: symbols/librlnetnative.debug
Expand All @@ -117,13 +117,13 @@ jobs:
strip -S build/bindings/cs/rl.net.native/librlnetnative.dylib
- if: ${{ startsWith(matrix.config.os, 'macos') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifacts
path: build/bindings/cs/rl.net.native/librlnetnative.dylib

- if: ${{ startsWith(matrix.config.os, 'macos') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: symbols
path: symbols/librlnetnative.dSYM
Expand All @@ -150,7 +150,7 @@ jobs:
path: artifacts
- uses: NuGet/[email protected]
- run: nuget pack nuget/dotnet/rl.net.nuspec -Properties RL_NUGET_PACKAGE_VERSION=$RL_NUGET_VERSION -BasePath artifacts -OutputDirectory nuget_output
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: dist
path: nuget_output/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
auditwheel repair wheel_output/*whl -w audit_output/
- name: Upload built wheel
# v1 must be used because newer versions require a node.js version that will not run on this old image.
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: wheel_${{ matrix.config.version }}
path: audit_output/
Expand Down

0 comments on commit 423b915

Please sign in to comment.