Skip to content

Commit

Permalink
fix: release action (#766)
Browse files Browse the repository at this point in the history
* fix: gateway and sensor service name

* fix: update release action
  • Loading branch information
VaibhavPage authored Jul 24, 2020
1 parent fab4454 commit 465f923
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/deploy.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: release

on:
push:
tags:
- 'v*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.14

- name: Build binaries
run: |
make all
chmod -R +x dist
zip -r release.zip dist
- name: Release binaries
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: release.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 465f923

Please sign in to comment.