Skip to content

Improve packaging routines and checks (#32) #2

Improve packaging routines and checks (#32)

Improve packaging routines and checks (#32) #2

Workflow file for this run

name: Std CD
on:
push:
tags:
- "v*.*.*"
concurrency:
group: std-cd-${{ github.workflow }}-${{ github.ref_type }}
cancel-in-progress: false
permissions:
contents: write
packages: write
jobs:
package:
runs-on: ubuntu-latest
steps:
- run: sudo snap install jsonschema
- uses: actions/checkout@v4
- run: make lint
- run: make test
- run: make dist
- run: gh config set prompt disabled
env:
GH_TOKEN: ${{ github.token }}
- name: Perform Tag Release
run: |
gh release create ${{ github.ref_name }} --draft=false --title ${{ github.ref_name }} --target "$GITHUB_SHA" --generate-notes
gh release upload --clobber ${{ github.ref_name }} dist/*.zip dist/*.tar.gz
if: github.ref_type == 'tag'
env:
GH_TOKEN: ${{ github.token }}