name: Release
on:
push:
branches:
- master
#- alpha
#- beta
paths-ignore:
- '**.md'
- 'flake.*'
- '.github/**'
- '.gitignore'
env:
RUST_BACKTRACE: 1
jobs:
release:
name: Release-plz
runs-on: ubuntu-latest
#if: ${{ false }} # disable for now
if: github.actor != 'sbosnick-bot'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.2.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.FD_QUEUE_CRATES_IO }}