ca4ceb1af8
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
32 lines
771 B
YAML
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 }}
|