From 74437e90f2323503daa3356326f71c1394cc17d7 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 4 Aug 2024 14:55:49 +0100 Subject: [PATCH] build: use release-plz from dev kemitix/rust action --- .forgejo/workflows/push-main.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/push-main.yml b/.forgejo/workflows/push-main.yml index 220d62c..6f43758 100644 --- a/.forgejo/workflows/push-main.yml +++ b/.forgejo/workflows/push-main.yml @@ -23,10 +23,24 @@ jobs: fetch-depth: 0 - name: Install Rust toolchain uses: https://github.com/dtolnay/rust-toolchain@stable - - name: Run release-plz - uses: https://git.kemitix.net/kemitix/release-plz-action@dev + - name: Run release-plz PR + uses: https://git.kemitix.net/kemitix/rust@dev 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: GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}