This Action for zem enables arbitrary actions with the zem command-line client, including testing and publishing.
Executes zem with arguments listed in the Action's args
.
name: Build, Test, and Publish
on:
release:
types: [published]
jobs:
build:
name: Build
runs-on: macOS-latest
steps:
- uses: actions/checkout@master
- name: Test
run: |
npm i
npm test
- name: Publish
uses: artemnovichkov/action-zem@master
env:
ZEM_ACCESS_TOKEN: ${{ secrets.ZEM_ACCESS_TOKEN }}
with:
args: publish
ZEM_ACCESS_TOKEN
- Optional. The token to use for authentication with zem. Required forzem publish
. Create a new token here.
The Dockerfile and associated scripts and documentation in this project are released under the MIT License.