Skip to content

Commit 62fdce4

Browse files
committed
v1.4.0
1 parent 3ec2460 commit 62fdce4

File tree

3 files changed

+837
-4
lines changed

3 files changed

+837
-4
lines changed

bundle/action.js

Lines changed: 833 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "easy-setup",
3-
"version": "1.3.10",
3+
"version": "1.4.0",
44
"description": "easy-setup",
55
"types": "dist/index.d.ts",
66
"main": "dist/index.js",
@@ -24,7 +24,7 @@
2424
"scripts": {
2525
"format": "deno fmt --ignore=node_modules,dist,bundle,target --indent-width=2 --no-semicolons --single-quote",
2626
"build": "tsc -p tsconfig.build.json && npm run bundle",
27-
"bundle": "esbuild --target=node20 --outdir=bundle --bundle --minify --platform=node --format=cjs src/action.ts"
27+
"bundle": "esbuild --target=node20 --outdir=bundle --bundle --platform=node --format=cjs src/action.ts"
2828
},
2929
"devDependencies": {
3030
"@easy-install/easy-install": "^1.3.8",

src/action.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
// import { getMultilineInput } from '@actions/core'
33
import { getMultilineInput } from './tool'
44
import { install } from '@easy-install/easy-install'
5+
import { version } from '../package.json'
56

67
const urlList = getMultilineInput('url')
78
const nameList = getMultilineInput('name')
89

910
async function main() {
11+
console.log(`easy-setup: ${version}`)
1012
for (let i = 0; i < urlList.length; i++) {
1113
const url = urlList[i]
1214
const name = nameList[i]

0 commit comments

Comments
 (0)