Commit e3ebdef0 by kewde

ci: run on all pushes, revert publish mechanism to default

parent 0e82fff2
name: Build ARM bindings
on:
push:
tags:
- "v*"
on: [push]
jobs:
build:
......@@ -44,6 +41,7 @@ jobs:
--no-cache \
--build-arg NODE_VERSION=${{ matrix.nodeVersion }} \
--build-arg VARIANT=${{ matrix.variant }} \
--build-arg COMMIT_MESSAGE=$(git show -s --format=%B $GITHUB_SHA | tr -d '\n')
--build-arg AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} \
--build-arg AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} \
.
......
......@@ -15,6 +15,6 @@ RUN npm install --ignore-scripts
RUN npx node-pre-gyp install --build-from-source
RUN npm run test
RUN npx node-pre-gyp package
RUN if [ "$AWS_ACCESS_KEY_ID" = "SKIP" ] || [ "$AWS_SECRET_ACCESS_KEY" = "SKIP" ] ; then echo "SKIP S3 PUBLISH" ; else npx node-pre-gyp publish ; fi
RUN if [[ ${COMMIT_MESSAGE} =~ "[publish binary]" ]] ; then npx node-pre-gyp publish ; else echo "SKIP S3 PUBLISH" ; fi
CMD ["sh"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment