fix(ci): specify correct URL
This commit is contained in:
parent
fcd9f1ca69
commit
28b357989c
@ -52,6 +52,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
release_name: ${{ steps.tag_version.outputs.new_tag }}
|
release_name: ${{ steps.tag_version.outputs.new_tag }}
|
||||||
success: ${{ steps.set_flag.outputs.success }}
|
success: ${{ steps.set_flag.outputs.success }}
|
||||||
|
srvurl: ${{ steps.set_srvurl.outputs.srvurl }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
@ -64,11 +65,17 @@ 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: Set server URL
|
||||||
|
id: set_srvurl
|
||||||
|
run: |
|
||||||
|
SRVURL=$(echo "${{ gitea.server_url }}" | sed 's/https:\/\/\(.*\)/\1/')
|
||||||
|
echo "srvurl=$SRVURL" >> "$GITEA_OUTPUT"
|
||||||
|
|
||||||
- name: Get next version
|
- name: Get next version
|
||||||
uses: TriPSs/conventional-changelog-action@v6
|
uses: TriPSs/conventional-changelog-action@v6
|
||||||
id: get_next_version
|
id: get_next_version
|
||||||
with:
|
with:
|
||||||
git-url: ${{ gitea.server_url }}
|
git-url: ${{ steps.set_srvurl.outputs.srvurl }}
|
||||||
github-token: ${{ gitea.token }}
|
github-token: ${{ gitea.token }}
|
||||||
skip-commit: true
|
skip-commit: true
|
||||||
release-count: 1
|
release-count: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user