Commit d95cf43 1 parent 12f3978 commit d95cf43 Copy full SHA for d95cf43
File tree 1 file changed +11
-7
lines changed
1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 25
25
steps :
26
26
# First, we check out the repository's code using the Github Actions' "Checkout" tool.
27
27
- name : Checkout code
28
- uses : actions/checkout@v3
28
+ uses : actions/checkout@v4
29
29
with :
30
30
submodules : ' recursive'
31
31
59
59
sudo chown root:root /usr/bin/tar && sudo chmod u+s /usr/bin/tar
60
60
- name : Cache protobuf-c
61
61
id : cache-protobuf-c
62
- uses : actions/cache@v3 # Uses the Github Actions' "Cache" tool
62
+ uses : actions/cache@v4 # Uses the Github Actions' "Cache" tool
63
63
with :
64
64
# These are the files we cache
65
65
path : |
74
74
run : |
75
75
sudo chown runner:runner /usr/bin/tar && sudo chmod u+x /usr/bin/tar
76
76
77
+ # Before we build Runtime, we check the formatting
78
+ - name : Debug
79
+ run : |
80
+ ls
81
+ pwd
82
+ - name : Format
83
+ run : |
84
+ ./runtime format check
85
+
77
86
# This if statement determine whether the cache lookup was a hit (true) or miss (not true--idk, false doesn't work)
78
87
# If the cache lookup hit, we just run "sudo ldconfig" to tell the linker where to look for
79
88
# protobuf-c files. If the cache lookup missed, we have to install protobuf-c from scratch
89
98
tar -xzf protobuf-c-1.4.1.tar.gz
90
99
cd protobuf-c-1.4.1 && ./configure && make && sudo make install && sudo ldconfig
91
100
92
- # Before we build Runtime, we check the formatting
93
- - name : Format
94
- run : |
95
- ./runtime format check
96
-
97
101
# Now that we are done installing Runtime's dependencies, we build Runtime
98
102
- name : Build
99
103
run : |
You can’t perform that action at this time.
0 commit comments