mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-14 00:27:55 +00:00
Delete .github/workflows/benchmark-gemini.yml
This commit is contained in:
33
.github/workflows/benchmark-gemini.yml
vendored
33
.github/workflows/benchmark-gemini.yml
vendored
@@ -1,33 +0,0 @@
|
|||||||
name: Run Gemini Benchmark
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
benchmark:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: '20'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm install
|
|
||||||
|
|
||||||
- name: Run benchmark script
|
|
||||||
run: npm start -- --gemini
|
|
||||||
env:
|
|
||||||
GOOGLE_KEY: ${{ secrets.GOOGLE_KEY }}
|
|
||||||
|
|
||||||
- name: Commit and push if changed
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'github-actions[bot]'
|
|
||||||
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
|
||||||
git add README tests results.json
|
|
||||||
git diff --staged --quiet || (git commit -m "Docs: Update Gemini benchmark results" && git push)
|
|
||||||
Reference in New Issue
Block a user