Skip to content

fix publish workflow 5 #7

fix publish workflow 5

fix publish workflow 5 #7

Workflow file for this run

on:
push:
branches:
- main
tags:
- '*'
# just for manual testing
workflow_dispatch:
name: Publish
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install toolchain
run: rustup show
- name: Dump Github Context
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
echo "CARGO_REGISTRY_TOKEN:" "$CARGO_REGISTRY_TOKEN"
- run: cargo publish --token "$CARGO_REGISTRY_TOKEN" -p starknet-types-core
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}