Skip to content

Commit

Permalink
add tagged release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: iosmanthus <[email protected]>
  • Loading branch information
iosmanthus committed Nov 26, 2021
1 parent 1e765d2 commit 631db35
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/auto-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "tagged-release"

on:
push:
tags:
- "v*"

jobs:
pre-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
stable: "false"
go-version: "1.16.7"
- name: "Build"
run: |
make
tar -cvzf learner-recover.tar.gz learner-recover rpo.sh recover.sh fetcher.sh config
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
title: "Release Build"
files: |
learner-recover.tar.gz
File renamed without changes.

0 comments on commit 631db35

Please sign in to comment.