We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9af5691 commit 1c569ecCopy full SHA for 1c569ec
.github/workflows/publish-rust.yml
@@ -40,6 +40,7 @@ jobs:
40
test:
41
name: Test Rust Crate
42
runs-on: ubuntu-latest
43
+ if: false
44
steps:
45
- name: Git Checkout
46
uses: actions/checkout@v4
@@ -95,8 +96,8 @@ jobs:
95
96
97
- name: Ensure CARGO_REGISTRY_TOKEN variable is set
98
env:
- token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
99
- if: ${{ env.token == '' }}
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
100
+ if: ${{ env.CARGO_REGISTRY_TOKEN == '' }}
101
run: |
102
echo "The CARGO_REGISTRY_TOKEN secret variable is not set"
103
echo "Go to \"Settings\" -> \"Secrets and variables\" -> \"Actions\" -> \"New repository secret\"."
0 commit comments