File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 7878 input-string : ' Hello World'
7979
8080 - name : Check Outputs
81- if : ${{ steps.get_line_rate.outputs.lineRate < 0.9 }}
8281 uses : actions/github-script@v3
8382 with :
8483 script : |
Original file line number Diff line number Diff line change 11import * as core from "@actions/core" ;
2- import { lowercase } from "./operations/lowercase" ;
3- import { uppercase } from "./operations/uppercase" ;
4- import { kebabcase } from "./operations/kebabcase" ;
2+ import { lowercase } from "./operations/lowercase" ;
3+ import { uppercase } from "./operations/uppercase" ;
4+ import { kebabcase } from "./operations/kebabcase" ;
55import { dnsSubdomain } from "./operations/dns-subdomain" ;
66
77export async function run ( ) {
88 try {
99 const operation : string = core . getInput ( "operation" ) ;
1010 const inputString : string = core . getInput ( "input-string" ) ;
1111 let maxLength : number = parseInt ( core . getInput ( "max-length" ) , 10 ) ;
12-
12+
1313 let outputString = "" ;
14-
14+
1515 switch ( operation ) {
1616 case "lowercase" :
1717 outputString = lowercase ( inputString ) ;
You can’t perform that action at this time.
0 commit comments