Files
zen/.github/workflows/uniffi-version-bump.yaml
stefan-gorulesandLars Werkman 91eec8029c feat: kotlin and java bindings (#319)
Huge thanks to: Lars Werkman <lars@bitvavo.com>

* feat: add support for kotlin bindings

* chore: build kotlin bindings version

* build: add proper lib dir for jna

* chore: rename kotlin directory to uniffi

* update kotlin files

* update kotlin

* fix workflow

* fix workflow

* fix

* fix upload path

* fix

* fix

* fix fmt

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix charset

* fix

* fix

* fix

* fix

* update env variables

* fix

* add pipelines for release

* debug

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix build

* add javadoc

* improve bindings

* feat: separate artifact for java and kotlin source code

* feat: add custom JsonBuffer type with fromString and toString abbilities

* fix workflows

* fix pipeline

* fix gradle

* fix: java bindings

* update java

* include kotlin in publish; bump version

* fix release

* fix

* fix publication

* fix missing dep

* fix dep chain

* add expression compilation

* bump version

* improve performance

* improve expression api

* fix: restore interfaces

* cleanup and add preliminary csharp support

* prepare for release

---------

Co-authored-by: Lars Werkman <lars@bitvavo.com>
2025-07-31 12:37:00 +02:00

57 lines
1.3 KiB
YAML

name: "Release: Uniffi"
env:
WORKING_DIRECTORY: bindings/uniffi
on:
workflow_dispatch:
inputs:
version:
description: 'Version'
required: true
default: 'patch'
type: choice
options:
- patch
- minor
- major
permissions:
contents: write
jobs:
publish:
name: Version
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ env.WORKING_DIRECTORY }}
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set Git author
run: |
git config user.name "Bot"
git config user.email "bot@gorules.io"
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: 'Install dependencies'
run: pip install --upgrade bump2version
- name: Bumpversion
run: bumpversion ${{ github.event.inputs.version }} --allow-dirty --tag-name "uniffi-v{new_version}"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Push changes
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.PAT}}