Skip to content

Release

Release #9

Workflow file for this run

name: Release
on: workflow_dispatch
jobs:
release:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- run: cargo install cargo-edit --version 0.12.2
- name: Install Knope
uses: knope-dev/action@v2.0.0
with:
version: 0.13.2
- run: |
git config --global user.name "${{ github.triggering_actor }}"
git config --global user.email "${{ github.triggering_actor}}@users.noreply.github.com"
- name: Prepare Release
run: knope release --verbose