Skip to content

Feat/ci update

Feat/ci update #16

Workflow file for this run

name: Publishing packages on crates.io
on:
push:
tags:
- ledger_device_sdk-*
- ledger_secure_sdk_sys-*
- include_gif-*
- testmacro-*
branches:
- master
pull_request:
workflow_dispatch:
inputs:
name:
description: 'Manually triggered'
jobs:
publish:
# if: github.ref_type == 'tag' && contains(github.ref_name, 'ledger_device_sdk-')
name: publish ledger_device_sdk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
args: --no-verify
check-repo: true
ignore-unpublished-changes: ${{ github.event_name != 'workflow_dispatch' }}
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}