Skip to content

Commit

Permalink
Add CI for release
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Jun 2, 2021
1 parent 2fca9bf commit 45824b6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
name: 'wsld'
path: target/release/wsld

- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: target/release/wsld
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-windows:
runs-on: windows-latest

Expand All @@ -49,3 +56,10 @@ jobs:
with:
name: 'wsldhost.exe'
path: target/release/wsldhost.exe

- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: target/release/wsldhost.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 45824b6

Please sign in to comment.