mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-05-18 05:41:53 +00:00
even more tweaks cjs->esm
This commit is contained in:
parent
4af0103c5e
commit
48f96baaf9
1 changed files with 2 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import path, {dirname} from 'path';
|
||||
import path, { dirname } from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
import * as core from '@actions/core';
|
||||
import outputs from './outputs.json';
|
||||
import outputs from './outputs.json' with { type: 'json' };
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
|
@ -16,6 +16,4 @@ export default async () => {
|
|||
|
||||
core.debug('action_workspace: ' + path.resolve(__dirname, '..'));
|
||||
core.debug('process.cwd: ' + process.cwd());
|
||||
|
||||
return Promise.resolve();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue