fix(ci): switch to new action module that doesn't require GitHub
This commit is contained in:
parent
9b88b680f0
commit
5145017bd6
@ -64,14 +64,27 @@ jobs:
|
|||||||
echo "$CHANGES"
|
echo "$CHANGES"
|
||||||
if [ -z "$CHANGES" ]; then echo "changes=false" >> "$GITEA_OUTPUT"; else echo "changes=true" >> "$GITEA_OUTPUT"; fi
|
if [ -z "$CHANGES" ]; then echo "changes=false" >> "$GITEA_OUTPUT"; else echo "changes=true" >> "$GITEA_OUTPUT"; fi
|
||||||
|
|
||||||
- name: Bump version and push tag
|
- name: Get next version
|
||||||
id: tag_version
|
uses: TriPSs/conventional-changelog-action@v6
|
||||||
if: steps.changes.outputs.changes == 'true'
|
id: get_next_version
|
||||||
uses: mathieudutour/github-tag-action@v6.2
|
|
||||||
with:
|
with:
|
||||||
github_token: ${{ gitea.token }}
|
github-token: ${{ gitea.token }}
|
||||||
default_bump: minor
|
skip-commit: true
|
||||||
# default_bump: false
|
release-count: 1
|
||||||
|
output-file: false
|
||||||
|
create-summary: true
|
||||||
|
skip-on-empty: true
|
||||||
|
skip-version-file: true
|
||||||
|
skip-tag: true
|
||||||
|
|
||||||
|
# - name: Bump version and push tag
|
||||||
|
# id: tag_version
|
||||||
|
# if: steps.changes.outputs.changes == 'true'
|
||||||
|
# uses: mathieudutour/github-tag-action@v6.2
|
||||||
|
# with:
|
||||||
|
# github_token: ${{ gitea.token }}
|
||||||
|
# default_bump: minor
|
||||||
|
# # default_bump: false
|
||||||
|
|
||||||
- name: Build Changelog
|
- name: Build Changelog
|
||||||
uses: mikepenz/release-changelog-builder-action@v4
|
uses: mikepenz/release-changelog-builder-action@v4
|
||||||
@ -109,8 +122,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
||||||
with:
|
with:
|
||||||
tag: ${{ steps.tag_version.outputs.new_tag }}
|
tag: ${{ steps.get_next_version.outputs.tag }}
|
||||||
name: ${{ steps.tag_version.outputs.new_tag }}
|
name: ${{ steps.get_next_version.outputs.tag }}
|
||||||
body: ${{ steps.build_changelog.outputs.changelog }}
|
body: ${{ steps.build_changelog.outputs.changelog }}
|
||||||
|
|
||||||
- name: Set success/fail flag
|
- name: Set success/fail flag
|
||||||
|
Loading…
Reference in New Issue
Block a user