Skip to content

Commit d008963

Browse files
committed
ci: remove debug code
1 parent 287460c commit d008963

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
name: Release
22

33
on:
4-
# TODO: Remove this after testing
5-
push:
64
workflow_dispatch:
75
inputs:
8-
dry_run:
9-
description: 'Dry run'
10-
required: true
11-
default: true
12-
type: boolean
136
level:
147
description: 'Release level'
158
required: true
@@ -41,10 +34,9 @@ jobs:
4134
run: cargo install --version 0.25.17 cargo-release
4235
- name: Set git user
4336
run: |
44-
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com>"
45-
git config --global user.name "${GITHUB_ACTOR}"
37+
git config --global user.email "${GITHUB_TRIGGERING_ACTOR}@users.noreply.github.com>"
38+
git config --global user.name "${GITHUB_TRIGGERING_ACTOR}"
4639
- name: Run cargo release
47-
# TODO: Uncomment this after testing
48-
# run: cargo release ${{ github.event.inputs.level }} ${{ github.event.inputs.dry_run && '--no-push' || '' }} ${{ github.event.inputs.dry_run && '--no-publish' || '' }} --no-confirm --execute
49-
# TODO: Remove this after testing
50-
run: cargo release major --no-push --no-publish --no-confirm --execute
40+
env:
41+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
42+
run: cargo release ${{ github.event.inputs.level }} --no-confirm --execute

0 commit comments

Comments
 (0)