@@ -27,23 +27,23 @@ jobs:
27
27
file : crates/lune/Cargo.toml
28
28
field : package.version
29
29
30
- # dry-run:
31
- # name: Dry-run
32
- # needs: ["init"]
33
- # runs-on: ubuntu-latest
34
- # steps:
35
- # - name: Checkout repository
36
- # uses: actions/checkout@v4
37
-
38
- # - name: Install Rust
39
- # uses: dtolnay/rust-toolchain@stable
40
-
41
- # - name: Publish (dry-run)
42
- # uses: katyo/publish-crates@v2
43
- # with:
44
- # dry-run: true
45
- # check-repo: true
46
- # registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
30
+ dry-run :
31
+ name : Dry-run
32
+ needs : ["init"]
33
+ runs-on : ubuntu-latest
34
+ steps :
35
+ - name : Checkout repository
36
+ uses : actions/checkout@v4
37
+
38
+ - name : Install Rust
39
+ uses : dtolnay/rust-toolchain@stable
40
+
41
+ - name : Publish (dry-run)
42
+ uses : katyo/publish-crates@v2
43
+ with :
44
+ dry-run : true
45
+ check-repo : true
46
+ registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
47
47
48
48
build :
49
49
needs : ["init"] # , "dry-run"]
@@ -139,20 +139,20 @@ jobs:
139
139
files : ./releases/*.zip
140
140
draft : true
141
141
142
- # release-crates:
143
- # name: Release (crates.io)
144
- # runs-on: ubuntu-latest
145
- # needs: ["init", "dry-run", "build"]
146
- # steps:
147
- # - name: Checkout repository
148
- # uses: actions/checkout@v4
149
-
150
- # - name: Install Rust
151
- # uses: dtolnay/rust-toolchain@stable
152
-
153
- # - name: Publish crates
154
- # uses: katyo/publish-crates@v2
155
- # with:
156
- # dry-run: false
157
- # check-repo: true
158
- # registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
142
+ release-crates :
143
+ name : Release (crates.io)
144
+ runs-on : ubuntu-latest
145
+ needs : ["init", "dry-run", "build"]
146
+ steps :
147
+ - name : Checkout repository
148
+ uses : actions/checkout@v4
149
+
150
+ - name : Install Rust
151
+ uses : dtolnay/rust-toolchain@stable
152
+
153
+ - name : Publish crates
154
+ uses : katyo/publish-crates@v2
155
+ with :
156
+ dry-run : false
157
+ check-repo : true
158
+ registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
0 commit comments