Skip to content

[Rust & Go SDK] Update SDK version #11

[Rust & Go SDK] Update SDK version

[Rust & Go SDK] Update SDK version #11

name: "[Rust & Go SDK] Update SDK version"
permissions:
pull-requests: write
contents: write
on:
workflow_dispatch:
inputs:
sdk_version:
description: 'SDK version to tag and publish'
required: true
env:
PROTOC_VERSION: "26.1"
jobs:
update_version:
name: "[Rust & Go SDK] Update SDK version"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: de-vri-es/setup-git-credentials@v2
with:
credentials: ${{secrets.GIT_CREDENTIALS}}
- name: Run protofetch tags updater
run: |
git config --global user.email "github@coralogix.com"
git config --global user.name "Github Actions"
cargo run --bin version_updater -- -r ../.. -o ${{ github.repository }} -v ${{ github.event.inputs.sdk_version }}
working-directory: tools/release-management
env:
GITHUB_TOKEN: ${{ secrets.GH_READER_TOKEN }}
RUST_LOG: debug