Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 980 Bytes

README.md

File metadata and controls

39 lines (30 loc) · 980 Bytes

Github Action for zem

This Action for zem enables arbitrary actions with the zem command-line client, including testing and publishing.

Usage

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

Secrets

  • ZEM_ACCESS_TOKEN - Optional. The token to use for authentication with zem. Required for zem publish. Create a new token here.

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.