Skip to content

Commit

Permalink
updated actions/download-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 a9d9e02 commit 3930eb3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ jobs:
if: github.event_name == 'release'
run: echo "FOLDER_NAME=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
- name: Download c++ Docs
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: cxx_docs
- name: Download Python Docs
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: python_docs
- uses: actions/checkout@v1
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 @@ -132,7 +132,7 @@ jobs:
echo "version=$version" >> $GITHUB_OUTPUT
# Download and install nuget
- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: RLClientLibNativeStatic-${{ matrix.toolset }}-${{ matrix.build_type }}-x64.${{ steps.get_version.outputs.version }}.nupkg
path: downloaded_nugets
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 @@ -53,7 +53,7 @@ jobs:
with:
submodules: recursive
- name: Download Wheel
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: wheel_${{ matrix.config.version }}
- name: Test wheel
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dotnet_nugets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,15 @@ jobs:
echo "Generated version number: $version"
echo "RL_NUGET_VERSION=$GENERATED_VERSION" >> $GITHUB_ENV
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifacts
name: artifacts-ubuntu-latest
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@v4
with:
name: dist-${{ matrix.config.os_name }}
name: dist-ubuntu-latest
path: nuget_output/

test-nuget:
Expand All @@ -161,9 +161,9 @@ jobs:
fail-fast: false
matrix:
config:
- { os: "windows-latest", runtime_id: "win-x64" }
- { os: "ubuntu-latest", runtime_id: "linux-x64" }
- { os: "macos-13", runtime_id: "osx-x64" }
- { os: "windows-latest", os_name: "windows-latest", runtime_id: "win-x64" }
- { os: "ubuntu-latest", os_name: "ubuntu-latest", runtime_id: "linux-x64" }
- { os: "macos-13", os_name: "macos-latest", runtime_id: "osx-x64" }
runs-on: ${{matrix.config.os}}
name: test-nuget (${{ matrix.config.os_name }}, ${{ matrix.config.runtime_id }})
steps:
Expand All @@ -178,9 +178,9 @@ jobs:
GENERATED_VERSION=$(./.scripts/version_number.py)
echo "Generated version number: $version"
echo "RL_NUGET_VERSION=$GENERATED_VERSION" >> $GITHUB_ENV
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
name: dist-${{ matrix.config.os_name }}
path: dist
- uses: actions/setup-dotnet@v3
- name: Install package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
submodules: recursive
- name: Download Wheel
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: wheel_${{ matrix.config.version }}
- name: Install dependencies
Expand Down

0 comments on commit 3930eb3

Please sign in to comment.