exp
This commit is contained in:
4
.github/workflows/publish-release.js
vendored
4
.github/workflows/publish-release.js
vendored
@@ -10,6 +10,10 @@ module.exports = async ({github, context, core}) => {
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
function test() {
|
||||
console.log("test");
|
||||
}
|
||||
|
||||
console.log("script")
|
||||
}
|
||||
3
.github/workflows/publish-release.yml
vendored
3
.github/workflows/publish-release.yml
vendored
@@ -23,3 +23,6 @@ jobs:
|
||||
const script = require('./.github/workflows/publish-release.js')
|
||||
console.log(context.payload.inputs.version)
|
||||
console.log(script)
|
||||
const f = await script({github, context, core})
|
||||
console.log(f)
|
||||
f.test()
|
||||
|
||||
Reference in New Issue
Block a user