From 90108dde9be781cbf3a06c9ad42c6fbf2a67fa54 Mon Sep 17 00:00:00 2001 From: Michel Wilhelm Date: Thu, 20 Nov 2025 14:12:20 -0300 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20(action.yml):=20remove=20c?= =?UTF-8?q?ondi=C3=A7=C3=A3o=20de=20comando=20e=20simplifica=20etapas=20do?= =?UTF-8?q?=20workflow=20do=20GitHub=20Actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/action.yml b/action.yml index f412ec1..e09c9ef 100644 --- a/action.yml +++ b/action.yml @@ -30,10 +30,7 @@ inputs: description: 'Timeout in ms' required: false default: '3600000' - command: - description: 'Command to run (deploy, hello)' - required: false - default: 'deploy' + runs: using: "composite" @@ -43,19 +40,12 @@ runs: node-version: '20' - name: Install dependencies - if: inputs.command == 'deploy' shell: bash run: | cd ${{ github.action_path }} npm install --no-save --omit=dev - - name: Hello World - if: inputs.command == 'hello' - shell: bash - run: echo "Hello World" - - name: Run deployment script - if: inputs.command == 'deploy' shell: bash run: node ${{ github.action_path }}/main.js env: