-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c40a37f
commit fcbc5e9
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,10 +42,9 @@ jobs: | |
run: go build -o bin/signls && chmod +x bin/signls | ||
if: ${{ !startsWith(matrix.os, 'windows') }} | ||
|
||
# Disable windows for now has I have no way of testing it. | ||
# - name: Build windows | ||
# run: go build -ldflags "-linkmode 'external' -extldflags '-static'" -o bin/signls.exe | ||
# if: startsWith(matrix.os, 'windows') | ||
- name: Build windows | ||
run: go build -ldflags "-linkmode 'external' -extldflags '-static'" -o bin/signls.exe | ||
if: startsWith(matrix.os, 'windows') | ||
|
||
- name: Tar.gz files | ||
run: tar -zcvf signls_${{ github.ref_name }}_${{ runner.os}}.tar.gz LICENSE -C bin signls | ||
|
@@ -72,6 +71,10 @@ jobs: | |
with: | ||
name: signls_${{ github.sha }}_Linux | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
name: signls_${{ github.sha }}_Windows | ||
|
||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
|