Initial draft #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nullstone | |
on: | |
push: | |
tags: | |
- 'v*' | |
env: | |
NULLSTONE_ORG: nullstone | |
NULLSTONE_API_KEY: ${{ secrets.NULLSTONE_API_KEY }} | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Find version | |
id: version | |
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/v} | |
- name: Set up Nullstone | |
uses: nullstone-io/setup-nullstone-action@v0 | |
- name: Publish module | |
run: | | |
nullstone modules publish --version=${{ steps.version.outputs.tag }} |