blitzar 5.0.0

High-Level Rust wrapper for the blitzar-sys crate
Documentation
name: Release

on:
  push:
    branches:
      - main

jobs:
  test-check-lint:
    uses: ./.github/workflows/test-check-lint.yml

  release:
    permissions:
      contents: write
      issues: write
      pull-requests: write
    name: Build Publish Crate - Linux-x86_64
    runs-on: ubuntu-latest
    needs: [test-check-lint]
    environment: deploy #!! DO NOT CHANGE THIS LINE !! #
    container:
      image: rust:1.87
    steps:
      - name: Checkout code
        uses: actions/checkout@v3
        with:
          fetch-depth: 0 # download tags, see https://github.com/actions/checkout/issues/100

      - run: git config --global --add safe.directory $(realpath .)

      - name: Setup node
        uses: actions/setup-node@v3
        with:
          node-version: "18.x"

      - name: Install zip
        run: apt-get update && apt-get install -y zip

      - name: Semantic Release
        run: |
          npm install semantic-release
          npx semantic-release
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}