lejianwen 1 год назад
Родитель
Сommit
10c23984a7
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      .github/workflows/build.yaml
  2. 1 1
      .github/workflows/ghcr.yml

+ 2 - 2
.github/workflows/build.yaml

@@ -45,7 +45,7 @@ jobs:
45
       - name: Install toolchain
45
       - name: Install toolchain
46
         uses: actions-rs/toolchain@v1
46
         uses: actions-rs/toolchain@v1
47
         with:
47
         with:
48
-          toolchain: "1.70.0"
48
+          toolchain: stable
49
           override: true
49
           override: true
50
           default: true
50
           default: true
51
           components: rustfmt
51
           components: rustfmt
@@ -84,7 +84,7 @@ jobs:
84
       - name: Install toolchain
84
       - name: Install toolchain
85
         uses: actions-rs/toolchain@v1
85
         uses: actions-rs/toolchain@v1
86
         with:
86
         with:
87
-          toolchain: "1.70.0"
87
+          toolchain: stable
88
           override: true
88
           override: true
89
           default: true
89
           default: true
90
           components: rustfmt
90
           components: rustfmt

+ 1 - 1
.github/workflows/ghcr.yml

@@ -40,7 +40,7 @@ jobs:
40
       - name: Install Rust toolchain
40
       - name: Install Rust toolchain
41
         uses: dtolnay/rust-toolchain@v1
41
         uses: dtolnay/rust-toolchain@v1
42
         with:
42
         with:
43
-          toolchain: "1.70.0"
43
+          toolchain: stable
44
           targets: ${{ matrix.job.target }}
44
           targets: ${{ matrix.job.target }}
45
           components: "rustfmt"
45
           components: "rustfmt"
46
           
46