1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-02-04 16:18:41 +00:00

Compare commits

...

3 commits

Author SHA1 Message Date
dependabot[bot]
2410dd2f45
Merge d4389c9eb0 into 12f2da15ee 2023-10-25 21:41:00 +00:00
12f2da15ee
create update-latest-release action 2023-10-25 19:39:34 +09:00
dependabot[bot]
d4389c9eb0
Bump minimist from 1.2.5 to 1.2.8 in /media-capture
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8.
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.8)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-05 06:53:46 +00:00
2 changed files with 25 additions and 3 deletions

View 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,
});

View file

@ -307,9 +307,9 @@ minimatch@3.0.4:
brace-expansion "^1.1.7"
minimist@^1.2.0:
version "1.2.5"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
version "1.2.8"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
ms@2.0.0:
version "2.0.0"