Skip to content

Commit

Permalink
Fix 'Github Actions' configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Jul 19, 2023
1 parent e16bdc2 commit d1746ba
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,24 @@ jobs:
]
os: [ 'macos-latest', 'ubuntu-latest', 'windows-latest' ]
steps:
- name: 'Setup .NET SDK'
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.x'
- name: 'Download distributions'
uses: actions/download-artifact@v3
with:
name: ${{ env.PACKAGES_DIRECTORY }}
path: ${{ env.PACKAGES_DIRECTORY }}
- name: 'Setup .NET SDK'
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.x'
- name: 'Setup Python'
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: 'Configure NuGet'
run: |
dotnet nuget add source ${{ github.workspace }}/${{ env.PACKAGES_DIRECTORY }} --name ${{ env.LOCAL_SOURCE_NAME }}
dotnet nuget add source \
"${{ github.workspace }}$(python -c 'import os;print(os.sep)')${{ env.PACKAGES_DIRECTORY }}" \
--name ${{ env.LOCAL_SOURCE_NAME }}
cat > nuget.config <<EOF
<?xml version="1.0" encoding="utf-8"?>
<configuration>
Expand Down

0 comments on commit d1746ba

Please sign in to comment.