File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -4287,7 +4287,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4287
4287
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
4288
4288
exports . IsPost = void 0 ;
4289
4289
const core = __importStar ( __nccwpck_require__ ( 186 ) ) ;
4290
- const coreCommand = __importStar ( __nccwpck_require__ ( 351 ) ) ;
4291
4290
const exec = __importStar ( __nccwpck_require__ ( 514 ) ) ;
4292
4291
const which_1 = __importDefault ( __nccwpck_require__ ( 207 ) ) ;
4293
4292
exports . IsPost = ! ! process . env [ 'STATE_isPost' ] ;
@@ -4364,7 +4363,7 @@ function upload() {
4364
4363
if ( ! exports . IsPost ) {
4365
4364
// Publish a variable so that when the POST action runs, it can determine it should run the cleanup logic.
4366
4365
// This is necessary since we don't have a separate entry point.
4367
- coreCommand . issueCommand ( 'save-state' , { name : ' isPost' } , 'true' ) ;
4366
+ core . saveState ( ' isPost', 'true' ) ;
4368
4367
setup ( ) ;
4369
4368
}
4370
4369
else {
Original file line number Diff line number Diff line change 1
1
import * as core from '@actions/core' ;
2
- import * as coreCommand from '@actions/core/lib/command'
3
2
import * as exec from '@actions/exec' ;
4
3
import which from 'which' ;
5
4
@@ -79,7 +78,7 @@ async function upload() {
79
78
if ( ! IsPost ) {
80
79
// Publish a variable so that when the POST action runs, it can determine it should run the cleanup logic.
81
80
// This is necessary since we don't have a separate entry point.
82
- coreCommand . issueCommand ( 'save-state' , { name : ' isPost'} , 'true' )
81
+ core . saveState ( ' isPost', 'true' ) ;
83
82
setup ( )
84
83
} else {
85
84
// Post
You can’t perform that action at this time.
0 commit comments