Skip to content

Commit c029042

Browse files
authored
Update openharmony-build.yml
1 parent 06e17f6 commit c029042

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/openharmony-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ jobs:
4949
with:
5050
name: packages
5151
path: output
52+
- uses: nuget/setup-nuget@v2
53+
- name: Install Mono
54+
run: |
55+
sudo apt update & sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common -y
56+
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
57+
sudo apt-add-repository 'deb https://download.mono-project.com/repo/ubuntu stable-bionic main'
58+
sudo apt install mono-complete
59+
mono --version
5260
- name: Push to NuGet
5361
run: |
5462
dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)