From 56f4c0e28de3a7594402542ca77117f4bfccbfb3 Mon Sep 17 00:00:00 2001 From: Trent Jones Date: Sat, 29 Feb 2020 13:35:50 -0600 Subject: [PATCH] ci testing --- .github/workflows/test.yml | 1 + dist/index.js | 2 +- src/input.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 56c6e86..bdf1130 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,7 @@ jobs: # - run: npm run pack smoke-test: # make sure the action works on a clean machine without building + name: Smoke Test runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/dist/index.js b/dist/index.js index 917ff9f..3ff39e0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -13925,7 +13925,7 @@ class Input { return !!(this.owner && this.repo && this.packageName && - this.numOldVersionsToDelete > 0 && + this.numOldVersionsToDelete && this.token); } } diff --git a/src/input.ts b/src/input.ts index ddbf683..7bdc2ae 100644 --- a/src/input.ts +++ b/src/input.ts @@ -40,7 +40,7 @@ export class Input { this.owner && this.repo && this.packageName && - this.numOldVersionsToDelete > 0 && + this.numOldVersionsToDelete && this.token ) }