39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
name: Release-plz
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
release-plz-pr:
|
|
name: Release-plz PR
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: dtolnay/rust-toolchain@nightly
|
|
- uses: Swatinem/rust-cache@v2
|
|
- uses: taiki-e/install-action@v2
|
|
with:
|
|
tool: release-plz
|
|
- run: |
|
|
git config user.name "Release-plz"
|
|
git config user.email "release-plz@noreply.huizinga.dev"
|
|
git config url.https://${{ gitea.actor }}:${{ secrets.GITEA_TOKEN }}@git.huizinga.dev/.insteadOf https://git.huizinga.dev/
|
|
- run: release-plz release-pr --git-token "${{ secrets.GITEA_TOKEN }}" --forge gitea -o json
|
|
|
|
# release-plz:
|
|
# name: Release-plz Release
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - uses: actions/checkout@v6
|
|
# - uses: dtolnay/rust-toolchain@nightly
|
|
# - uses: Swatinem/rust-cache@v2
|
|
# - uses: taiki-e/install-action@v2
|
|
# with:
|
|
# tool: release-plz
|
|
# - run: *git-setup
|
|
# - env:
|
|
# CARGO_REGISTRIES_HUIZINGA_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
|
# run: release-plz release --git-token "${{ secrets.GITEA_TOKEN }}" --forge gitea -o json
|