Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests - Fix DotNet installing on Ubuntu #2808

Merged
merged 29 commits into from
Dec 30, 2024
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
57211f4
test
EyalDelarea Dec 25, 2024
aec1499
Add env for ubuntu
EyalDelarea Dec 26, 2024
5d6db33
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli into fix_tests
EyalDelarea Dec 26, 2024
f363462
Add env DOTNET_INSTALL_DIR
EyalDelarea Dec 26, 2024
8a7ec06
trigger
EyalDelarea Dec 26, 2024
df6c27d
test without
EyalDelarea Dec 26, 2024
c830492
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli into fix_tests
EyalDelarea Dec 26, 2024
c9d897b
Test Fix nugetTests.yml
EyalDelarea Dec 26, 2024
040238d
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli into fix_tests
EyalDelarea Dec 29, 2024
990d20f
Install .NET before NuGet
EyalDelarea Dec 29, 2024
e29bef7
Remove .NET env var
EyalDelarea Dec 29, 2024
f50d3de
Add comments
EyalDelarea Dec 29, 2024
a3aa044
Update the oldest version of mac-os from 12 to 13
EyalDelarea Dec 29, 2024
b3f4ce2
Change the image for artifactory 6
EyalDelarea Dec 29, 2024
d993e9e
Add comment
EyalDelarea Dec 29, 2024
7411975
Update pip_test.go
EyalDelarea Dec 30, 2024
197a15a
test nuget version
EyalDelarea Dec 30, 2024
b14ef47
version 8
EyalDelarea Dec 30, 2024
4a4afff
version 6
EyalDelarea Dec 30, 2024
ae6b4c5
test
EyalDelarea Dec 30, 2024
1e10beb
only set env for ubuntu
EyalDelarea Dec 30, 2024
7c60109
test
EyalDelarea Dec 30, 2024
53b0a67
test2
EyalDelarea Dec 30, 2024
85befe3
merge
EyalDelarea Dec 30, 2024
097d126
Test
EyalDelarea Dec 30, 2024
4ed95f5
Don't fail if dir already exists
EyalDelarea Dec 30, 2024
9a4fb10
Test workaround
EyalDelarea Dec 30, 2024
4c570fa
Fix syntax
EyalDelarea Dec 30, 2024
73c13f9
Comments
EyalDelarea Dec 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/nugetTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,21 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

# Install Mono on Ubuntu to run nuget.exe
- name: Install Mono on Ubuntu
# Prepare ubuntu by installing Mono and handle dotnet installation issues.
- name: Prepare ubuntu
if: matrix.os == 'ubuntu'
run: |
# Install Mono
sudo apt-get update
sudo apt-get install -y apt-transport-https dirmngr gnupg ca-certificates
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt-get update
sudo apt-get install -y mono-complete
# Fixes dotnet installation issues, see https://github.com/jfrog/jfrog-cli/pull/2808 for more details.
echo "DOTNET_INSTALL_DIR=/usr/share/dotnet" >> $GITHUB_ENV
sudo mkdir -p /usr/share/dotnet
sudo chmod 777 /usr/share/dotnet

- name: Install .NET
uses: actions/setup-dotnet@v4
Expand Down
Loading