mirror of
https://github.com/kou029w/_.git
synced 2025-02-04 16:18:41 +00:00
Compare commits
3 commits
7ac2d7a76a
...
f308b69f40
Author | SHA1 | Date | |
---|---|---|---|
|
f308b69f40 | ||
12f2da15ee | |||
|
8dd09a6e4c |
2 changed files with 25 additions and 3 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,
|
||||
});
|
|
@ -2805,9 +2805,9 @@ punycode@^2.1.0, punycode@^2.1.1:
|
|||
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
|
||||
|
||||
qs@~6.5.2:
|
||||
version "6.5.2"
|
||||
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
|
||||
integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==
|
||||
version "6.5.3"
|
||||
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad"
|
||||
integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==
|
||||
|
||||
react-is@^17.0.1:
|
||||
version "17.0.2"
|
||||
|
|
Loading…
Add table
Reference in a new issue