nostr_rust

My fork of nostr_rust
git clone git://jb55.com/nostr_rust
Log | Files | Refs | README

publish.yml (574B)


      1 name: Release
      2 
      3 on:
      4   push:
      5     tags:
      6       - "*"
      7 
      8 jobs:
      9   call-ci:
     10     uses: ./.github/workflows/ci.yml
     11     secrets: inherit
     12 
     13   publish:
     14     name: Publish
     15     runs-on: ubuntu-latest
     16     needs:
     17       - call-ci
     18     steps:
     19       - name: Checkout sources
     20         uses: actions/checkout@v2
     21 
     22       - name: Install stable toolchain
     23         uses: actions-rs/toolchain@v1
     24         with:
     25           profile: minimal
     26           toolchain: stable
     27           override: true
     28 
     29       - run: cargo publish --token ${CRATES_TOKEN}
     30         env:
     31           CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}