Skip to content

Merge pull request #11 from Jxtopher/fix-publish #21

Merge pull request #11 from Jxtopher/fix-publish

Merge pull request #11 from Jxtopher/fix-publish #21

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Caching objects
id: cache-objects
uses: actions/cache@v4
with:
path: |
~/.cargo
${{ github.workspace }}/target
key: ${{ runner.os }}-release-objects
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Install dependencies
run: npm ci
- name: Install cargo-release
run: cargo install cargo-release
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: npx semantic-release