Skip to content

Commit

Permalink
Merge pull request #42 from SmartBear-DevRel/ci/add_mono_take2
Browse files Browse the repository at this point in the history
ci: add mono via apt
  • Loading branch information
YOU54F authored Jan 15, 2025
2 parents 768e9d2 + 7a6d0a6 commit 15cc779
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,15 @@ jobs:

- name: setup mono
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install mono
sudo apt install dirmngr ca-certificates gnupg
sudo gpg --homedir /tmp --no-default-keyring --keyring \
/usr/share/keyrings/mono-official-archive-keyring.gpg \
--keyserver hkp://keyserver.ubuntu.com:80 \
--recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/debian stable-buster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install -y mono-complete
- name: Publish to Nuget
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey $NUGET_API_KEY
Expand Down

0 comments on commit 15cc779

Please sign in to comment.