2024-08-04 13:37:10 +01:00
|
|
|
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
|
2024-08-04 14:55:49 +01:00
|
|
|
- name: Run release-plz release-pr
|
2024-08-04 15:43:35 +01:00
|
|
|
uses: https://git.kemitix.net/kemitix/rust@v1.80.0-2
|
2024-08-04 14:55:49 +01:00
|
|
|
with:
|
2024-08-04 16:22:54 +01:00
|
|
|
args: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
|
2024-08-04 14:55:49 +01:00
|
|
|
env:
|
|
|
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
|
|
|
- name: Run release-plz release
|
2024-08-04 15:43:35 +01:00
|
|
|
uses: https://git.kemitix.net/kemitix/rust@v1.80.0-2
|
2024-08-04 14:55:49 +01:00
|
|
|
with:
|
2024-08-04 16:22:54 +01:00
|
|
|
args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
|
2024-08-04 13:37:10 +01:00
|
|
|
env:
|
|
|
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|