I am trying to run a bash script file inside GitHub Action, but it is return an error.
name: CI
on: push
jobs:
linux:
name: Linux build on node ${{ matrix.node_version }}
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [8.x, 10.x]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set Node.js version ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- name: Install packages
run: npm install
- name: Run build
run: npm run build:linux
- name: Moving build to artifacts directory
run: ./scripts/moveFiles.sh