tstor/.github/workflows/release.yml
Antonio Navarro Perez ca4ceb1af8 Fix release github action
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 20:57:47 +02:00

32 lines
771 B
YAML

name: Release
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
release:
name: Upload Release Assets
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install fuse
run: sudo apt-get install libfuse-dev gcc
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.15.x
- name: Compile project
run: make compile
- name: Upload Release
uses: softprops/action-gh-release@v0.1.5
with:
draft: true
prerelease: false
fail_on_unmatched_files: true
files: |
bin/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}