From 9bf784ccf0afe5a413ad73a54689c7021e3549c8 Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Sun, 2 Aug 2020 21:21:18 +0200 Subject: [PATCH] Create release.yml Add release workflow --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..603480c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +name: Release + +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + release: + name: Upload Release Assets + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Build project + run: make compile + - name: Upload Release + uses: softprops/action-gh-release@v1 + with: + draft: true + prerelease: false + fail_on_unmatched_files: true + files: | + bin/* + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}