build: use release-plz from dev kemitix/rust action

This commit is contained in:
Paul Campbell 2024-08-04 14:55:49 +01:00
parent 2156780a3d
commit 74437e90f2

View file

@ -23,10 +23,24 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Install Rust toolchain - name: Install Rust toolchain
uses: https://github.com/dtolnay/rust-toolchain@stable uses: https://github.com/dtolnay/rust-toolchain@stable
- name: Run release-plz - name: Run release-plz PR
uses: https://git.kemitix.net/kemitix/release-plz-action@dev uses: https://git.kemitix.net/kemitix/rust@dev
with: with:
backend: gitea args: release-plz release-pr --backend gitea --git-token ${GITHUB_TOKEN}
env:
GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run release-plz release-pr
uses: https://git.kemitix.net/kemitix/rust@dev
with:
args: release-plz release-pr --backend gitea --git-token ${GITHUB_TOKEN}
env:
GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run release-plz release
uses: https://git.kemitix.net/kemitix/rust@dev
with:
args: release-plz release --backend gitea --git-token ${GITHUB_TOKEN}
env: env:
GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }} GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}