kxio/.forgejo/workflows/push-main.yml
Paul Campbell 2e5c80875e
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 3m23s
Test / build (map[name:stable]) (push) Successful in 4m31s
Release Please / Release-plz (push) Successful in 18s
build: upgrade kemitix/rust v3
2025-01-12 14:12:46 +00:00

38 lines
835 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
container:
image:
git.kemitix.net/kemitix/rust:v3.0.0
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run release-plz release-pr
run: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run release-plz release
run: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}