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 18
18
19
19
- name : Set up Docker
20
20
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
+
22
32
- name : Update Submodule
23
33
run : |
24
34
git submodule update --init --recursive
29
39
chmod +x ./build-openharmony-x64.sh
30
40
./build-openharmony-x64.sh
31
41
42
+
32
43
- name : build for arm64
33
44
working-directory : ${{ github.workspace }}/scripts
34
45
run : |
39
50
working-directory : ${{ github.workspace }}/package
40
51
run : |
41
52
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
42
59
43
60
publish-to-nuget :
44
61
needs : build
You can’t perform that action at this time.
0 commit comments