File: release.yml

package info (click to toggle)
rust-region 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: makefile: 2
file content (21 lines) | stat: -rw-r--r-- 366 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Release

on:
  push: { tags: ['v*'] }

jobs:
  publish:
    name: Publish
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Authenticate crates.io
      env:
        CRATES_IO_TOKEN: ${{ secrets.crates_io_token }}
      run: cargo login $CRATES_IO_TOKEN

    - name: Publish crate
      run: cargo publish