File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Copy SQLite3 Files
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ copy-files :
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - name : Checkout current repository
12+ uses : actions/checkout@v4
13+ with :
14+ fetch-depth : 0
15+
16+ - name : Copy Files from sqlite/sqlite-wasm
17+ run : |
18+ mkdir -p dependencies/sqlite3
19+ curl -L -o dependencies/sqlite3/sqlite3-opfs-async-proxy.js https://raw.githubusercontent.com/sqlite/sqlite-wasm/main/src/bin/sqlite3-opfs-async-proxy.js
20+ curl -L -o dependencies/sqlite3/sqlite3.mjs https://raw.githubusercontent.com/sqlite/sqlite-wasm/main/src/bin/sqlite3.mjs
21+ curl -L -o dependencies/sqlite3/sqlite3.wasm https://raw.githubusercontent.com/sqlite/sqlite-wasm/main/src/bin/sqlite3.wasm
22+
23+ - name : Commit changes
24+ run : |
25+ git config --global user.email "action@github.com"
26+ git config --global user.name "GitHub Action"
27+ git add dependencies/sqlite3/*
28+ git commit -m "Copy sqlite3 files" || echo "No changes to commit"
29+ git push
You can’t perform that action at this time.
0 commit comments