We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2eed4 commit 345e82fCopy full SHA for 345e82f
.github/workflows/publish.yml
@@ -80,7 +80,6 @@ jobs:
80
run: |
81
pnpm semver ${{ inputs.crate }}
82
83
-
84
publish_release:
85
name: Publish
86
runs-on: ubuntu-latest
@@ -112,6 +111,15 @@ jobs:
112
111
- name: Test
113
run: pnpm test ${{ inputs.crate }}
114
+ - name: Ensure CARGO_REGISTRY_TOKEN variable is set
115
+ env:
116
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
117
+ if: ${{ env.CARGO_REGISTRY_TOKEN == '' }}
118
+ run: |
119
+ echo "The CARGO_REGISTRY_TOKEN secret variable is not set"
120
+ echo "Go to \"Settings\" -> \"Secrets and variables\" -> \"Actions\" -> \"New repository secret\"."
121
+ exit 1
122
+
123
- name: Set Git Author
124
125
git config --global user.email "[email protected]"
0 commit comments