File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,15 @@ jobs:
2424 uses : actions/checkout@v1
2525
2626 - name : echo git hash
27- run : echo ${{ github.sha }} > Release.txt
27+ run : echo " ${{ github.sha }} \n\r ${{ steps.current-time.outputs.time }}" > Release.txt
2828 - name : Build Golang Executorable Release
29- run : go build -ldflags "-s -w -X main.buildTime=' ${{ steps.current-time.outputs.time }}' -X main.gitHash=${{ github.sha }}" -o sshfortress_${{ matrix.platform }}.release
29+ run : go build -ldflags "-s -w -X main.buildTime=${{ steps.current-time.outputs.time }} -X main.gitHash=${{ github.sha }}" -o sshfortress_${{ matrix.platform }}.release
3030 - name : Release
3131 uses : softprops/action-gh-release@v1
3232 if : startsWith(github.ref, 'refs/tags/')
3333 with :
34- files : sshfortress_${{ matrix.platform }}.release
34+ files : |
35+ sshfortress_${{ matrix.platform }}.release
36+ Release.txt
3537 env :
3638 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments