feat: upgrade the internal authentication flow to generate simple aut… #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Crate from Release | |
on: | |
#release: | |
# types: [published] | |
push: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
#- name: Run tests | |
# run: cargo test --verbose | |
- name: Publish | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
run: scripts/publish-all.sh --token ${CARGO_REGISTRY_TOKEN} --verbose | |
#run: echo "The secret is ${CARGO_REGISTRY_TOKEN}" |