Fix invalid run-name expression in Gitea workflow
Build & Deploy / build-and-deploy (push) Successful in 1m53s
Build & Deploy / build-and-deploy (push) Successful in 1m53s
Gitea's expression parser only supports top-level builtin functions, not method calls (gitea.sha.substring(0, 7) left 5 tokens unparsed). Use the full SHA; there is no substring/slice function to shorten it.
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# See: https://docs.gitea.com/usage/actions
|
# See: https://docs.gitea.com/usage/actions
|
||||||
|
|
||||||
name: Build & Deploy
|
name: Build & Deploy
|
||||||
run-name: Build ${{ gitea.sha.substring(0, 7) }}
|
run-name: Build ${{ gitea.sha }}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
Reference in New Issue
Block a user