Fix environment variable references for Gitea Actions
All checks were successful
Build and Release / build-and-release (push) Successful in 2m6s
All checks were successful
Build and Release / build-and-release (push) Successful in 2m6s
- Use GITHUB_OUTPUT instead of GITEA_OUTPUT - Use GITHUB_REF instead of GITEA_REF - Should fix TagName required error
This commit is contained in:
parent
5f8c933844
commit
f9bf3ce610
@ -50,9 +50,9 @@ jobs:
|
|||||||
id: version
|
id: version
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ gitea.event_name }}" == "workflow_dispatch" ]; then
|
if [ "${{ gitea.event_name }}" == "workflow_dispatch" ]; then
|
||||||
echo "VERSION=${{ gitea.event.inputs.version }}" >> $GITEA_OUTPUT
|
echo "VERSION=${{ gitea.event.inputs.version }}" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "VERSION=${GITEA_REF#refs/tags/}" >> $GITEA_OUTPUT
|
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create Release with curl
|
- name: Create Release with curl
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user