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: Build 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 }}