forked from Mirror/attic-action
merge steps
This commit is contained in:
parent
ac59a1f6d5
commit
5f586db5bc
6 changed files with 7 additions and 22 deletions
|
@ -20,4 +20,3 @@ outputs:
|
|||
runs:
|
||||
using: "node16"
|
||||
main: "dist/index.js"
|
||||
post: "dist/post.js"
|
||||
|
|
8
dist/index.js
vendored
8
dist/index.js
vendored
File diff suppressed because one or more lines are too long
8
dist/post.js
vendored
8
dist/post.js
vendored
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@
|
|||
"version": "0.1.0",
|
||||
"description": "Cache Nix derivations with attic",
|
||||
"scripts": {
|
||||
"build": "esbuild src/index.ts src/post.ts --outdir=dist --platform=node --format=cjs --bundle --minify-whitespace --minify-syntax"
|
||||
"build": "esbuild src/index.ts --outdir=dist --platform=node --format=cjs --bundle --minify-whitespace --minify-syntax"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Ryan Cao <hello@ryanccn.dev>",
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
import { install } from "./stages/install";
|
||||
import { configure } from "./stages/configure";
|
||||
import { push } from "./stages/push";
|
||||
|
||||
(async () => {
|
||||
await install();
|
||||
await configure();
|
||||
await push();
|
||||
})().catch((e) => {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
import { push } from "./stages/push";
|
||||
|
||||
(async () => {
|
||||
await push();
|
||||
})().catch((e) => {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
});
|
Loading…
Reference in a new issue