Skip to content

Commit

Permalink
Upload linux release artifacts (grpc#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzBusch authored and bimawa committed Nov 10, 2021
1 parent d903bef commit c89df03
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

on:
release:
types: [ published ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Extract release version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Build the plugins
run: make plugins

- name: Zip the plugins
run: |
zip protoc-grpc-swift-plugins-linux-x86_64-${{ env.RELEASE_VERSION }}.zip protoc-gen-swift protoc-gen-grpc-swift
- name: Upload artifacts
uses: softprops/action-gh-release@v1
with:
files: protoc-grpc-swift-plugins-linux-x86_64-${{ env.RELEASE_VERSION }}.zip

0 comments on commit c89df03

Please sign in to comment.