File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
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+
54+ - name : Upload a Build Artifact
55+ uses : actions/upload-artifact@v4
56+ with :
57+ name : packages
58+ path : output
4259
4360 publish-to-nuget :
4461 needs : build
You can’t perform that action at this time.
0 commit comments