fix: (verify,decrypt) using isSigned to validate instead of SignedBy … #78
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: Build FlatBuffers | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: Version Overwrite | |
required: false | |
push: | |
paths: | |
- '**.fbs' | |
tags: | |
- "v*" | |
pull_request: | |
env: | |
VERSION: ${{ github.event.inputs.version || (startsWith(github.ref, 'refs/tags/') && github.ref || '') }} | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
language: [ dart, go, ts, java, kotlin, swift, rust ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Flatbuffers | |
run: make flatbuffers_deps | |
- name: Build | |
run: make flatbuffers_${{ matrix.language }} | |
- name: Compress | |
run: tar -czvf output.tar.gz -C output/flatbuffers/${{ matrix.language }} . | |
- if: ${{ env.VERSION!='' }} | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
asset_name: flatbuffers_libopenpgp_bridge_${{ matrix.language }}_$tag.tar.gz | |
file: output.tar.gz | |
tag: ${{ env.VERSION }} | |
overwrite: true | |
- if: ${{ env.VERSION=='' }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: flatbuffers_libopenpgp_bridge_${{ matrix.language }} | |
path: output.tar.gz |