ci: install knope manually #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prerelease | ||
on: | ||
workflow_dispatch: {} | ||
jobs: | ||
prerelease: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PAT }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.PAT }} | ||
- uses: actions-rs/toolchain@v1 | ||
# disabled after unexpected failures. | ||
# - name: Install Knope | ||
# uses: knope-dev/action@v1 | ||
- run: | | ||
cargo install knope --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 Prerelease | ||
run: knope release --prerelease-label=rc | ||