c6f167dc16
All checks were successful
Test / build (map[name:stable]) (pull_request) Successful in 6m38s
Test / build (map[name:nightly]) (pull_request) Successful in 7m15s
Release Please / Release-plz (push) Successful in 46s
Test / build (map[name:nightly]) (push) Successful in 4m52s
Test / build (map[name:stable]) (push) Successful in 5m5s
36 lines
906 B
YAML
36 lines
906 B
YAML
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: Run release-plz release-pr
|
|
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
|
|
with:
|
|
args: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
|
|
env:
|
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
|
- name: Run release-plz release
|
|
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
|
|
with:
|
|
args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
|
|
env:
|
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
|
|