File tree 3 files changed +12
-5
lines changed
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -103,16 +103,18 @@ jobs:
103
103
104
104
regen_check :
105
105
name : regen checker
106
- runs-on : ubuntu-22.04
106
+ runs-on : ubuntu-latest
107
107
steps :
108
108
- uses : actions/checkout@v2
109
109
with :
110
110
submodules : " recursive"
111
+ set-safe-directory : true
111
112
- uses : actions-rs/toolchain@v1
112
113
with :
113
114
profile : minimal
114
115
toolchain : stable
115
116
override : true
117
+ - run : git submodule update --checkout
116
118
- run : python3 ./generator.py --yes ./
117
119
- run : git diff --exit-code
118
120
@@ -123,11 +125,13 @@ jobs:
123
125
- uses : actions/checkout@v2
124
126
with :
125
127
submodules : recursive
128
+ set-safe-directory : true
126
129
- uses : actions-rs/toolchain@v1
127
130
with :
128
131
profile : minimal
129
132
toolchain : stable
130
133
override : true
134
+ - run : git submodule update --checkout
131
135
- run : cargo install rustdoc-stripper
132
136
- run : python3 generator.py --embed-docs
133
137
- run : python3 generator.py --strip-docs
Original file line number Diff line number Diff line change @@ -42,14 +42,15 @@ jobs:
42
42
- uses : actions/checkout@v2
43
43
with :
44
44
submodules : " recursive"
45
+ set-safe-directory : true
45
46
- uses : actions-rs/toolchain@v1
46
47
with :
47
48
profile : minimal
48
49
toolchain : nightly
49
50
override : true
50
51
components : rustfmt
51
- - working- directory: gir
52
- run : cargo build --release
52
+ - run : git config --global --add safe. directory /__w/gtk4-rs/gtk4-rs
53
+ - run : git submodule update --checkout
53
54
- run : cargo install rustdoc-stripper
54
55
- run : git clone https://gitlab.gnome.org/World/Rust/gir-rustdoc/ # checkout action doesn't support random urls
55
56
- run : python3 ./generator.py --embed-docs --yes ./
Original file line number Diff line number Diff line change 1
1
[submodule "gir "]
2
2
path = gir
3
- url = https://github.com/gtk-rs/gir.git
3
+ url = https://github.com/gtk-rs/gir
4
+ update = none
4
5
[submodule "gir-files "]
5
6
path = gir-files
6
- url = https://github.com/gtk-rs/gir-files.git
7
+ url = https://github.com/gtk-rs/gir-files
8
+ update = none
You can’t perform that action at this time.
0 commit comments