refactor(action): remove unused changelog and release steps
Some checks failed
Auto Changelog & Release / release (push) Failing after 2s
Some checks failed
Auto Changelog & Release / release (push) Failing after 2s
- Remove steps for generating unreleased changelogs and releasing from version in the GitHub Action workflow. - Simplify the workflow by retaining only essential steps.
This commit is contained in:
13
action.yml
13
action.yml
@@ -11,6 +11,7 @@ inputs:
|
|||||||
author_email:
|
author_email:
|
||||||
description: "Commit-Autore-Mail"
|
description: "Commit-Autore-Mail"
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
@@ -41,15 +42,3 @@ runs:
|
|||||||
bash ${{ github.action_path }}/scripts/setup-git.sh \
|
bash ${{ github.action_path }}/scripts/setup-git.sh \
|
||||||
"${{ inputs.author_name }}" \
|
"${{ inputs.author_name }}" \
|
||||||
"${{ inputs.author_email }}"
|
"${{ inputs.author_email }}"
|
||||||
|
|
||||||
- name: Generate and commit changelog (unreleased)
|
|
||||||
if: steps.detect.outputs.version_changed == 'false' || github.ref != 'refs/heads/main'
|
|
||||||
shell: bash
|
|
||||||
run: bash ${{ github.action_path }}/scripts/generate-unreleased-changelog.sh
|
|
||||||
|
|
||||||
- name: Release from VERSION
|
|
||||||
if: steps.detect.outputs.version_changed == 'true' && github.ref == 'refs/heads/main'
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }}
|
|
||||||
run: bash ${{ github.action_path }}/scripts/release-from-version.sh
|
|
||||||
|
Reference in New Issue
Block a user