File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2929 build :
3030 name : Build
3131 runs-on : macos-latest
32+ permissions :
33+ contents : write
3234 steps :
3335 - uses : actions/checkout@v4
3436 - uses : Swatinem/rust-cache@v2
3739 - name : Run
3840 run : cargo run
3941 - name : Upload
40- uses : actions/upload-artifact@v4
42+ uses : stefanzweifel/git-auto-commit-action@v5
4143 with :
42- name : clash.yaml
43- path : subs/release/clash.yaml
44- retention-days : 5
44+ commit_message : " docs: update yaml"
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ async fn main() {
6767async fn run ( config : Settings ) {
6868 let test_yaml_path = "subs/test/config.yaml" ;
6969 let test_all_yaml_path = "subs/test/all.yaml" ;
70- let release_yaml_path = env:: current_dir ( ) . unwrap ( ) . join ( "subs/release/ clash.yaml" ) ;
70+ let release_yaml_path = env:: current_dir ( ) . unwrap ( ) . join ( "clash.yaml" ) ;
7171 let test_clash_template_path = "conf/clash_test.yaml" ;
7272 let release_clash_template_path = "conf/clash_release.yaml" ;
7373 let mut urls = config. subs ;
You can’t perform that action at this time.
0 commit comments