feat: Add Claude permissions configuration and a Gitea CI/CD workflow for building and releasing the application.
All checks were successful
Build and Release / build-and-release (push) Successful in 30m23s
All checks were successful
Build and Release / build-and-release (push) Successful in 30m23s
This commit is contained in:
@@ -15,7 +15,8 @@
|
|||||||
"Bash(npx tsc:*)",
|
"Bash(npx tsc:*)",
|
||||||
"Bash(npx -y esbuild:*)",
|
"Bash(npx -y esbuild:*)",
|
||||||
"WebFetch(domain:gist.github.com)",
|
"WebFetch(domain:gist.github.com)",
|
||||||
"Bash(git ls-tree:*)"
|
"Bash(git ls-tree:*)",
|
||||||
|
"WebFetch(domain:github.com)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,20 +7,27 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-release:
|
build-and-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: electronuserland/builder:wine
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Install required tools
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
|
|
||||||
- name: Install Wine (for Windows cross-compile)
|
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg --add-architecture i386
|
apt-get update && apt-get install -y jq xvfb
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y wine64 wine32 xvfb
|
- name: Cache npm and Electron
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.npm
|
||||||
|
~/.cache/electron
|
||||||
|
~/.cache/electron-builder
|
||||||
|
Frontend/Electron/node_modules
|
||||||
|
node_modules
|
||||||
|
key: npm-electron-${{ hashFiles('package-lock.json', 'Frontend/Electron/package-lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
npm-electron-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user