Skip to content

Commit a1f5301

Browse files
committed
ci(cron): fix release step
1 parent fbf9935 commit a1f5301

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/cron.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ jobs:
2828
- name: Install cargo-release
2929
run: cargo install cargo-release
3030

31-
- name: Build and release
31+
- name: Build
3232
env:
33-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
3433
APILAYER_KEY: ${{ secrets.APILAYER_KEY }}
3534
run: |
3635
cd ua_generator
3736
BUILD_ENABLED=1 cargo build
38-
cargo release minor --no-confirm
3937
4038
- uses: EndBug/add-and-commit@v9
4139
with:
@@ -46,5 +44,13 @@ jobs:
4644
add: "ua_generator/Cargo.toml ua_generator/Cargo.lock"
4745
pull: "--rebase --autostash"
4846

47+
- name: Release
48+
env:
49+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
50+
APILAYER_KEY: ${{ secrets.APILAYER_KEY }}
51+
run: |
52+
cd ua_generator
53+
cargo release minor --no-confirm
54+
4955
- name: Push tags
5056
run: git push --follow-tags

0 commit comments

Comments
 (0)