5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 10:46:56 +00:00

chore: add debug info

This commit is contained in:
cycjimmy 2020-01-10 16:31:20 +08:00
parent 22d5f850a3
commit ac4bc8539b
2 changed files with 5 additions and 0 deletions

View file

@ -18,6 +18,7 @@ jobs:
- name: Semantic Release
uses: cycjimmy/semantic-release-action@master
id: semantic
with:
extra_plugins: |
@semantic-release/git@7.0.18

View file

@ -1,3 +1,4 @@
const path = require('path');
const core = require('@actions/core');
const outputs = require('./outputs.json');
@ -9,5 +10,8 @@ module.exports = async () => {
// set outputs default
core.setOutput(outputs.new_release_published, 'false');
core.debug('action_workspace: ' + path.resolve(__dirname, '..'));
core.debug('process.cwd: ' + process.cwd());
return Promise.resolve();
};