Skip to content

Commit

Permalink
CI: switch to GH Release
Browse files Browse the repository at this point in the history
  • Loading branch information
buptczq committed Dec 16, 2020
1 parent 4b710a8 commit 2f5e541
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Go

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [push, pull_request]

jobs:

Expand Down Expand Up @@ -37,7 +33,12 @@ jobs:
env:
GOARCH: '386'

- name: Upload Build Artifacts
uses: actions/[email protected]
- name: Upload Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path: 'WinCryptSSHAgent*.exe'
files: 'WinCryptSSHAgent*.exe'
draft: true
prerelease: true
6 changes: 3 additions & 3 deletions versioninfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"FileVersion": {
"Major": 1,
"Minor": 1,
"Patch": 2,
"Patch": 3,
"Build": 0
},
"ProductVersion": {
"Major": 1,
"Minor": 1,
"Patch": 2,
"Patch": 3,
"Build": 0
},
"FileFlagsMask": "3f",
Expand All @@ -29,7 +29,7 @@
"OriginalFilename": "WinCryptSSHAgent.exe",
"PrivateBuild": "",
"ProductName": "WinCrypt SSH Agent",
"ProductVersion": "v1.1.2",
"ProductVersion": "v1.1.3",
"SpecialBuild": ""
},
"VarFileInfo": {
Expand Down

0 comments on commit 2f5e541

Please sign in to comment.