File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 1818
1919 - name : Set up Docker
2020 uses : docker/setup-buildx-action@v2
21-
21+ - name : Install Mono
22+ run : |
23+ sudo apt update & sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common -y
24+ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
25+ sudo apt-add-repository 'deb https://download.mono-project.com/repo/ubuntu stable-bionic main'
26+ sudo apt install mono-complete
27+ mono --version
28+
29+ - name : Set up nuget
30+ - uses : nuget/setup-nuget@v2
31+
2232 - name : Update Submodule
2333 run : |
2434 git submodule update --init --recursive
2939 chmod +x ./build-openharmony-x64.sh
3040 ./build-openharmony-x64.sh
3141
42+
3243 - name : build for arm64
3344 working-directory : ${{ github.workspace }}/scripts
3445 run : |
3950 working-directory : ${{ github.workspace }}/package
4051 run : |
4152 nuget pack ./OpenHarmony.NET.Runtime.nuspec -OutputDirectory ../output -Version 0.0.0-alpha.${{github.run_number}}
53+
4254
4355 publish-to-nuget :
4456 needs : build
4961 with :
5062 name : packages
5163 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
6064 - name : Push to NuGet
6165 run : |
6266 dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
You can’t perform that action at this time.
0 commit comments