mirror of
https://github.com/kou029w/_.git
synced 2025-02-04 16:18:41 +00:00
Compare commits
4 commits
5f7505ed37
...
1ff23e4b63
Author | SHA1 | Date | |
---|---|---|---|
|
1ff23e4b63 | ||
962b721a24 | |||
24ac4ed7b1 | |||
|
832a805167 |
4 changed files with 170 additions and 4740 deletions
18
.github/workflows/update-empty-branch.yml
vendored
Normal file
18
.github/workflows/update-empty-branch.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: update-empty-branch
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- run: |
|
||||||
|
git worktree add --track -b empty empty origin/empty
|
||||||
|
rm -rf empty/*
|
||||||
|
git config user.name bot
|
||||||
|
git config user.email '<>'
|
||||||
|
git -C empty add --all
|
||||||
|
git -C empty commit --allow-empty --message "based on $(git rev-parse @)"
|
||||||
|
git -C empty push origin empty
|
29
.github/workflows/update-latest-release.yml
vendored
Normal file
29
.github/workflows/update-latest-release.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: update-latest-release
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- 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,
|
||||||
|
# });
|
||||||
|
- run: |
|
||||||
|
latest=$(gh release view --json tagName --jq .tagName)
|
||||||
|
gh release delete-asset "${latest}" hello.txt || :
|
||||||
|
gh release upload "${latest}" hello.txt
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
|
@ -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