Skip to content

feat: re-generated flatbuffers model #83

feat: re-generated flatbuffers model

feat: re-generated flatbuffers model #83

Workflow file for this run

name: Build Linux
on:
workflow_dispatch:
inputs:
version:
description: Version Overwrite
required: false
push:
tags:
- "v*"
pull_request:
env:
VERSION: ${{ github.event.inputs.version || (startsWith(github.ref, 'refs/tags/') && github.ref || '') }}
jobs:
binding:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: docker-practice/actions-setup-docker@master
- name: Build
run: make binding_linux
- name: Compress
run: tar -czvf output.tar.gz -C output/binding/linux .
- if: ${{ env.VERSION!='' }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
asset_name: libopenpgp_bridge_linux_$tag.tar.gz
file: output.tar.gz
tag: ${{ env.VERSION }}
overwrite: true
- if: ${{ env.VERSION=='' }}
uses: actions/upload-artifact@v3
with:
name: libopenpgp_bridge_linux
path: output.tar.gz