diff --git a/README.md b/README.md index e96f8af..acdd90b 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ jobs: uses: actions/checkout@v2 - name: IonCube Encode - uses: MuriloChianfa/ioncube-encoder-action@v1.0.0 + uses: MuriloChianfa/ioncube-encoder-action@v2.0.0 # If you're dont using trial version you need to setup the ioncube download url # env: # IONCUBE_DOWNLOAD_URL: ${{ secrets.IONCUBE_DOWNLOAD_URL }} @@ -81,7 +81,7 @@ jobs: uses: actions/checkout@v2 - name: IonCube Encode Project - uses: MuriloChianfa/ioncube-encoder-action@v1.0.0 + uses: MuriloChianfa/ioncube-encoder-action@v2.0.0 # If you're dont using trial version you need to setup the ioncube download url # env: # IONCUBE_DOWNLOAD_URL: ${{ secrets.IONCUBE_DOWNLOAD_URL }} @@ -95,7 +95,7 @@ jobs: callback-file: /opt/project/public/ioncube.php - name: IonCube Encode Callback File - uses: MuriloChianfa/ioncube-encoder-action@v1.0.0 + uses: MuriloChianfa/ioncube-encoder-action@v2.0.0 # If you're dont using trial version you need to setup the ioncube download url # env: # IONCUBE_DOWNLOAD_URL: ${{ secrets.IONCUBE_DOWNLOAD_URL }} diff --git a/package.json b/package.json index 97acafb..fa96b5f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ioncube-encoder-action", "description": "Github action to automate IonCube encoding for your PHP project.", - "version": "1.0.0", + "version": "2.0.0", "author": "MuriloChianfa ", "private": true, "homepage": "https://github.com/MuriloChianfa/ioncube-encoder-action", diff --git a/src/inputs/loader.js b/src/inputs/loader.js index bcebb5e..7d1e65e 100644 --- a/src/inputs/loader.js +++ b/src/inputs/loader.js @@ -5,7 +5,7 @@ const core = require('@actions/core') * @returns {bool|string} Returns a validated loader input. */ module.exports = function validateLoader(standard = true) { - const loader = !(core.getInput('without-loader-check') ?? standard) + const loader = core.getInput('without-loader-check') ?? standard core.debug( loader === true ? 'Checking for loader in environment'