mirror of
https://github.com/kou029w/_.git
synced 2025-02-04 16:18:41 +00:00
Compare commits
4 commits
9bc1cc6e40
...
63fad4fa48
Author | SHA1 | Date | |
---|---|---|---|
|
63fad4fa48 | ||
962b721a24 | |||
24ac4ed7b1 | |||
|
8b6f15e55b |
4 changed files with 64 additions and 11 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 }}
|
|
@ -9,7 +9,7 @@
|
|||
"deploy": "vercel deploy"
|
||||
},
|
||||
"dependencies": {
|
||||
"fastify": "^3.28.0",
|
||||
"fastify": "^3.29.4",
|
||||
"fastify-autoload": "^3.12.0",
|
||||
"pino-pretty": "^7.6.1"
|
||||
},
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
dependencies:
|
||||
ajv "^6.12.6"
|
||||
|
||||
"@fastify/error@^2.0.0":
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@fastify/error/-/error-2.0.0.tgz#a9f94af56eb934f0ab1ce4ef9f0ced6ebf2319dc"
|
||||
integrity sha512-wI3fpfDT0t7p8E6dA2eTECzzOd+bZsZCJ2Hcv+Onn2b7ZwK3RwD27uW2QDaMtQhAfWQQP+WNK7nKf0twLsBf9w==
|
||||
|
||||
"@nodelib/fs.scandir@2.1.5":
|
||||
version "2.1.5"
|
||||
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
|
||||
|
@ -365,6 +370,11 @@ configstore@^5.0.1:
|
|||
write-file-atomic "^3.0.0"
|
||||
xdg-basedir "^4.0.0"
|
||||
|
||||
content-type@^1.0.4:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
|
||||
integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==
|
||||
|
||||
cookie@^0.4.0:
|
||||
version "0.4.2"
|
||||
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432"
|
||||
|
@ -669,21 +679,17 @@ fastify-autoload@^3.12.0:
|
|||
pkg-up "^3.1.0"
|
||||
semver "^7.3.5"
|
||||
|
||||
fastify-error@^0.3.0:
|
||||
version "0.3.1"
|
||||
resolved "https://registry.yarnpkg.com/fastify-error/-/fastify-error-0.3.1.tgz#8eb993e15e3cf57f0357fc452af9290f1c1278d2"
|
||||
integrity sha512-oCfpcsDndgnDVgiI7bwFKAun2dO+4h84vBlkWsWnz/OUK9Reff5UFoFl241xTiLeHWX/vU9zkDVXqYUxjOwHcQ==
|
||||
|
||||
fastify@^3.28.0:
|
||||
version "3.28.0"
|
||||
resolved "https://registry.yarnpkg.com/fastify/-/fastify-3.28.0.tgz#14d939a2f176b82af1094de7abcb0b2d83bcff8f"
|
||||
integrity sha512-LAQtGllpkRe8L6Tpf3zdbvXzXFOrgaWV3Tbvp3xMv9ngcr9zht9U2/mo5zq9qp9kplSiBJ0w43aVAMqv6PBMbw==
|
||||
fastify@^3.29.4:
|
||||
version "3.29.4"
|
||||
resolved "https://registry.yarnpkg.com/fastify/-/fastify-3.29.4.tgz#294e33017b55f3cb72f315c41cf51431bc9b7a34"
|
||||
integrity sha512-BEyKidZQvscNaiF1BLh+YLE7AzHH03NexhPzrwZP6KBQ+jG2czdgq72X+RFB5rK9hbqdaafVb5yiWN+hCvHfYg==
|
||||
dependencies:
|
||||
"@fastify/ajv-compiler" "^1.0.0"
|
||||
"@fastify/error" "^2.0.0"
|
||||
abstract-logging "^2.0.0"
|
||||
avvio "^7.1.2"
|
||||
content-type "^1.0.4"
|
||||
fast-json-stringify "^2.5.2"
|
||||
fastify-error "^0.3.0"
|
||||
find-my-way "^4.5.0"
|
||||
flatstr "^1.0.12"
|
||||
light-my-request "^4.2.0"
|
||||
|
|
Loading…
Add table
Reference in a new issue