Skip to content

Update action-test.yml to fix permissions and default values #18

Update action-test.yml to fix permissions and default values

Update action-test.yml to fix permissions and default values #18

Workflow file for this run

name: Create Action dist on push
on:
push:
jobs:
create-action-dist:
runs-on: ubuntu-20.04
name: Package Action code
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '12'
- name: Install app dependencies
run: |
npm i
- name: Creating dist from ${{ github.ref }} for sha (${{ github.sha }})
run: |
npm run-script build
- name: Add and commit Action dist
uses: EndBug/[email protected]
with:
author_name: Action workflow
author_email: [email protected]
message: "dist created from ${{ github.ref }} for sha (${{ github.sha }})"
env:
GITHUB_TOKEN: ${{ secrets.DIST_TOKEN }}