build: add release-plz ci
Some checks failed
Rust / build (push) Successful in 2m25s
Release Please / Release-plz (push) Failing after 2s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Some checks failed
Rust / build (push) Successful in 2m25s
Release Please / Release-plz (push) Failing after 2s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
This commit is contained in:
parent
f4a399e24b
commit
5534160aaf
1 changed files with 32 additions and 0 deletions
32
.forgejo/workflows/push-main.yml
Normal file
32
.forgejo/workflows/push-main.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
name: Release Please
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release-plz:
|
||||||
|
name: Release-plz
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Install Rust toolchain
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
- name: Run release-plz
|
||||||
|
uses: https://git.kemitix.net/kemitix/release-plz-action@dev
|
||||||
|
with:
|
||||||
|
backend: gitea
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
Loading…
Reference in a new issue