diff --git a/.github/workflows/debug_build.yml b/.github/workflows/debug-build.yml similarity index 100% rename from .github/workflows/debug_build.yml rename to .github/workflows/debug-build.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release-binary.yml similarity index 99% rename from .github/workflows/release.yml rename to .github/workflows/release-binary.yml index 5c87c17d46..172b19f686 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release-binary.yml @@ -5,7 +5,7 @@ # - Dockerfile-CI.alpine.Dockerfile # - https://github.com/lycheeverse/lychee-action/blob/master/action.yml -name: Release +name: Release Binary on: release: types: @@ -16,7 +16,6 @@ env: jobs: prepare: - name: Build release binary runs-on: ubuntu-latest outputs: tag_name: ${{ steps.get_release.outputs.tag_name }} diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml new file mode 100644 index 0000000000..5e42ea8efc --- /dev/null +++ b/.github/workflows/release-plz.yml @@ -0,0 +1,31 @@ +# Release-plz pipeline for publishing +# a new GitHub + crates.io release + +name: Release-plz + +permissions: + pull-requests: write + contents: write + +on: + push: + branches: + - main + - master + +jobs: + release-plz: + name: Release-plz + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + - name: Run release-plz + uses: MarcoIeni/release-plz-action@v0.5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/.github/workflows/toc-generator.yml b/.github/workflows/update-toc.yml similarity index 100% rename from .github/workflows/toc-generator.yml rename to .github/workflows/update-toc.yml