From 2f78f84a754cdde600a2c0502099f199bcfd5b84 Mon Sep 17 00:00:00 2001 From: Lukas Scheuerle Date: Tue, 25 Nov 2025 08:32:03 +0100 Subject: [PATCH] Fix #3: send-push-info is always true (#4) * fix send-push-info disabling not working * bump version to 0.3 --- .github/workflows/main.yml | 2 +- README.md | 2 +- index.js | 4 ++-- node_modules/.package-lock.json | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ebc5f43..965ba65 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: name: RCON Test steps: - name: RCON Connection - uses: Plagiatus/RCON-Action@v0.2 + uses: Plagiatus/RCON-Action@v0.3 with: server: ${{ secrets.rcon_server }} port: ${{ secrets.rcon_port }} diff --git a/README.md b/README.md index 5ec1582..530fb77 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ jobs: name: RCON Test steps: - name: RCON Connection - uses: Plagiatus/RCON-Action@v0.2 + uses: Plagiatus/RCON-Action@v0.3 with: server: ${{ secrets.rcon_server }} port: ${{ secrets.rcon_port }} diff --git a/index.js b/index.js index 734d49d..a69b2fc 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,7 @@ async function run() { port: core.getInput("port"), password: core.getInput("password"), commands: JSON.parse(core.getInput("commands")), - sendPushInfo: core.getInput("send-push-info"), + sendPushInfo: core.getBooleanInput("send-push-info"), pushInfoRecipient: core.getInput("push-info-recipient"), } const payload = JSON.stringify(github.context.payload, undefined, 2); @@ -41,4 +41,4 @@ async function run() { } catch (error) { core.setFailed(error.message) } -} \ No newline at end of file +} diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index a910470..0fe7f6e 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,7 +1,7 @@ { "name": "rcon-action", - "version": "0.2.0", - "lockfileVersion": 2, + "version": "0.3.0", + "lockfileVersion": 3, "requires": true, "packages": { "node_modules/@actions/core": { diff --git a/package-lock.json b/package-lock.json index 34b6908..86b3da7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rcon-action", - "version": "0.2.0", + "version": "0.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "rcon-action", - "version": "0.2.0", + "version": "0.3.0", "license": "ISC", "dependencies": { "@actions/core": "^1.2.6", diff --git a/package.json b/package.json index 1d2ab81..cce272b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rcon-action", - "version": "0.2.0", + "version": "0.3.0", "description": "Integrate RCON actions into your github workflow", "main": "index.js", "scripts": {