kxio/.forgejo/workflows/push-main.yml
Paul Campbell 2e951fb39c
Some checks failed
Rust / build (map[name:stable]) (push) Failing after 40s
Rust / build (map[name:nightly]) (push) Failing after 1m57s
build: switch to forgejo actions
Replace the woodpecker config with forgejo actions.

Add issue number to TODOs to pass CI check
2024-10-29 22:18:23 +00:00

36 lines
906 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
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run release-plz release-pr
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
with:
args: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run release-plz release
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
with:
args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}