File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change 11name : Release
22
33on :
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
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
You can’t perform that action at this time.
0 commit comments