Fix Forgejo Actions compatibility issues
- Replace forge.* context variables with shell commands to avoid compatibility issues - Use 1755132473 for build IDs instead of forge.run_number - Use git commands for commit and branch information instead of forge context - Simplify workflow dependencies to avoid potential parsing issues - Make workflows more robust and compatible with Forgejo Actions
This commit is contained in:
parent
c4bd1e97fb
commit
c18b13549e
4 changed files with 16 additions and 16 deletions
|
|
@ -204,9 +204,9 @@ jobs:
|
|||
|
||||
## Test Information
|
||||
- **Test Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')
|
||||
- **Test ID**: ${{ forge.run_number }}
|
||||
- **Commit**: ${{ forge.sha }}
|
||||
- **Branch**: ${{ forge.ref_name }}
|
||||
- **Test ID**: $(date +%s)
|
||||
- **Commit**: $(git rev-parse --short HEAD 2>/dev/null || echo "Unknown")
|
||||
- **Branch**: $(git branch --show-current 2>/dev/null || echo "Unknown")
|
||||
|
||||
## Test Status
|
||||
- **Status**: ✅ SUCCESS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue