debian/rust-vendor/ordered-multimap/.github/workflows/cd.yml
raw| 1 | name: CD |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | tags: |
| 6 | - '[v]?[0-9]+.[0-9]+.[0-9]+' |
| 7 | |
| 8 | jobs: |
| 9 | publish-cargo: |
| 10 | name: Publishing to Cargo |
| 11 | runs-on: ubuntu-latest |
| 12 | steps: |
| 13 | - name: Checkout repository |
| 14 | uses: actions/checkout@v4 |
| 15 | - uses: actions-rs/toolchain@v1 |
| 16 | with: |
| 17 | toolchain: nightly |
| 18 | profile: minimal |
| 19 | override: true |
| 20 | - uses: Swatinem/rust-cache@v2 |
| 21 | - uses: actions-rs/cargo@v1 |
| 22 | with: |
| 23 | command: publish |
| 24 | args: --token ${{ secrets.CARGO_API_KEY }} |