Skip to content

Commit d371073

Browse files
try if need to set as env instead
1 parent d153b5d commit d371073

3 files changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/set-up-stackql.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424
uses: ./
2525
with:
2626
authObjString: ${{ secrets.AUTH_OBJECT_STR }}
27-
env:
28-
AUTH_OBJ_STR: ${{ secrets.AUTH_OBJECT_STR }}
2927

3028

3129
- name: Validate Stackql Version

dist/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6771,11 +6771,9 @@ async function setupAuth(){
67716771
*/
67726772
const authObjString = core.getInput("authObjString");
67736773
try {
6774-
core.info(core.getInput("authObjString"))
6775-
core.info(process.env['AUTH_OBJ_STR'])
67766774
core.info(`auth Obj string is ${authObjString}` )
67776775

6778-
if(!authObjString || !authObjString.trim().length ) {
6776+
if(!authObjString || authObjString === "" ) {
67796777
throw Error ('Cannot find auth object string')
67806778
}
67816779

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,9 @@ async function setupAuth(){
6969
*/
7070
const authObjString = core.getInput("authObjString");
7171
try {
72-
core.info(core.getInput("authObjString"))
73-
core.info(process.env['AUTH_OBJ_STR'])
7472
core.info(`auth Obj string is ${authObjString}` )
7573

76-
if(!authObjString || !authObjString.trim().length ) {
74+
if(!authObjString || authObjString === "" ) {
7775
throw Error ('Cannot find auth object string')
7876
}
7977

0 commit comments

Comments
 (0)