File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed
Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 9797 git config --local user.name "GitHub Action"
9898 git add Cargo.toml
9999 git commit -m "chore: bump version to ${{ needs.semantic-version.outputs.version }}" || exit 0
100+ git push || exit 0
100101
101102 - name : Create Release
102103 id : create_release
@@ -161,6 +162,12 @@ jobs:
161162 steps :
162163 - name : Checkout code
163164 uses : actions/checkout@v5
165+ with :
166+ ref : main
167+ fetch-depth : 1
168+
169+ - name : Pull latest changes
170+ run : git pull origin main
164171
165172 - name : Install Rust
166173 uses : dtolnay/rust-toolchain@stable
@@ -223,6 +230,12 @@ jobs:
223230 steps :
224231 - name : Checkout code
225232 uses : actions/checkout@v5
233+ with :
234+ ref : main
235+ fetch-depth : 1
236+
237+ - name : Pull latest changes
238+ run : git pull origin main
226239
227240 - name : Install Rust
228241 uses : dtolnay/rust-toolchain@stable
@@ -279,10 +292,12 @@ jobs:
279292 steps :
280293 - name : Checkout code
281294 uses : actions/checkout@v5
295+ with :
296+ ref : main
297+ fetch-depth : 1
282298
283- - name : Update Cargo.toml version
284- run : |
285- sed -i.bak 's/^version = ".*"/version = "${{ needs.semantic-version.outputs.version }}"/' Cargo.toml && rm Cargo.toml.bak
299+ - name : Pull latest changes
300+ run : git pull origin main
286301
287302 - name : Install Rust
288303 uses : dtolnay/rust-toolchain@stable
Original file line number Diff line number Diff line change 11[package ]
22name = " repos"
3- version = " 0.0.2 "
3+ version = " 0.0.3 "
44edition = " 2024"
55
66[dependencies ]
You can’t perform that action at this time.
0 commit comments