From bcf4504bb6673bd3ccd1b67a131111d98eebcb8d Mon Sep 17 00:00:00 2001 From: Swapnil Narhire Date: Fri, 30 Apr 2021 19:22:30 +0530 Subject: [PATCH] Update action.yml --- action.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/action.yml b/action.yml index ac7205a..67f235b 100644 --- a/action.yml +++ b/action.yml @@ -1,13 +1,12 @@ -name: 'Download a Build Artifact' -description: 'Download a build artifact that was previously uploaded in the workflow by the upload-artifact action' -author: 'GitHub' -inputs: - name: - description: 'Artifact name' - required: false - path: - description: 'Destination path' - required: false -runs: - using: 'node12' - main: 'dist/index.js' \ No newline at end of file + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: npm install and build webpack + run: | + npm install + npm run build + - uses: actions/upload-artifact@main + with: + name: webpack artifacts + path: public/