[Rust & Go SDK] Update SDK version #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |