mirror of
https://github.com/kou029w/_.git
synced 2025-02-05 00:28:42 +00:00
Compare commits
3 commits
1ff23e4b63
...
5f7505ed37
Author | SHA1 | Date | |
---|---|---|---|
|
5f7505ed37 | ||
12f2da15ee | |||
|
832a805167 |
3 changed files with 145 additions and 4740 deletions
22
.github/workflows/update-latest-release.yml
vendored
Normal file
22
.github/workflows/update-latest-release.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: update-latest-release
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo ok > hello.txt
|
||||||
|
- uses: actions/github-script@v6
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
const { data: release } = await github.rest.repos.getLatestRelease(context.repo);
|
||||||
|
|
||||||
|
const name = "hello.txt";
|
||||||
|
const data = await require("node:fs").promises.readFile(name);
|
||||||
|
|
||||||
|
await github.rest.repos.uploadReleaseAsset({
|
||||||
|
...context.repo,
|
||||||
|
release_id: release.id,
|
||||||
|
name,
|
||||||
|
data,
|
||||||
|
});
|
|
@ -3,7 +3,7 @@
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"next": "^9.5.1",
|
"next": "^12.1.0",
|
||||||
"react": "^16.13.1",
|
"react": "^16.13.1",
|
||||||
"react-dom": "^16.13.1",
|
"react-dom": "^16.13.1",
|
||||||
"vad.js": "kdavis-mozilla/vad.js"
|
"vad.js": "kdavis-mozilla/vad.js"
|
||||||
|
|
4861
vad/yarn.lock
4861
vad/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue