1.0.5 #16
Workflow file for this run
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: Release Proto | |
on: | |
release: | |
types: [published] | |
env: | |
VERSION: ${{ github.ref_name }} | |
jobs: | |
buildGo: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup key | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.GO_DEPLOY_KEY }} | |
- name: Generate Go Proto | |
run: make rel-go | |
buildPython: | |
runs-on: ubuntu-latest | |
env: | |
TWINE_USER: __token__ | |
TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.12' | |
- name: Install deps | |
run: pip install -r requirements.txt | |
- name: Generate Python Proto | |
run: make rel-python | |
buildJava: | |
runs-on: ubuntu-latest | |
env: | |
OSS_USERNAME: ${{ secrets.OSS_USERNAME }} | |
OSS_PASSWORD: ${{ secrets.OSS_PASSWORD }} | |
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Import GPG key | |
uses: crazy-max/ghaction-import-gpg@v5 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Generate Java Proto | |
run: make rel-java |