feat: Implement Gitea CI/CD release workflow, add Claude AI configuration, and correct frontend path casing.
Some checks failed
Build and Release / build-and-release (push) Failing after 26m49s
Some checks failed
Build and Release / build-and-release (push) Failing after 26m49s
This commit is contained in:
@@ -30,12 +30,12 @@ jobs:
|
||||
- name: Read version from package.json
|
||||
id: version
|
||||
run: |
|
||||
VERSION=$(node -p "require('./FrontEnd/Electron/package.json').version")
|
||||
VERSION=$(node -p "require('./Frontend/Electron/package.json').version")
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build Electron app
|
||||
run: |
|
||||
cd FrontEnd/Electron
|
||||
cd Frontend/Electron
|
||||
npm run build
|
||||
npx electron-builder --linux --win
|
||||
env:
|
||||
@@ -70,10 +70,10 @@ jobs:
|
||||
echo "Created release ID: $RELEASE_ID"
|
||||
|
||||
# Upload each artifact
|
||||
for file in FrontEnd/Electron/dist/latest*.yml \
|
||||
FrontEnd/Electron/dist/*.exe \
|
||||
FrontEnd/Electron/dist/*.exe.blockmap \
|
||||
FrontEnd/Electron/dist/*.AppImage; do
|
||||
for file in Frontend/Electron/dist/latest*.yml \
|
||||
Frontend/Electron/dist/*.exe \
|
||||
Frontend/Electron/dist/*.exe.blockmap \
|
||||
Frontend/Electron/dist/*.AppImage; do
|
||||
[ -f "$file" ] || continue
|
||||
FILENAME=$(basename "$file")
|
||||
echo "Uploading: $FILENAME"
|
||||
|
||||
Reference in New Issue
Block a user