We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89c22db commit cdcefa5Copy full SHA for cdcefa5
.github/workflows/release.yml
@@ -43,7 +43,7 @@ jobs:
43
run: echo "::set-env name=RELEASE::hack-browser-data-${{ github.event.release.tag_name}}-${{ matrix.releaseos}}-64bit"
44
- uses: actions/checkout@v2
45
- name: Build ${{ matrix.goos }}/${{ matrix.arch }}
46
- run: go build -o ${{ matrix.bin }}
+ run: go build -ldflags '-w -s' -o ${{ matrix.bin }}
47
env:
48
GOOS: ${{ matrix.goos }}
49
GOARCH: ${{ matrix.arch }}
@@ -71,6 +71,7 @@ jobs:
71
echo "Creating release $RELEASE_DIR"
72
for BINARY in $RELEASE_DIR/*
73
do
74
+ chmod 777 $BINARY;
75
cp $BINARY .;
76
zip -r releases/$(basename $RELEASE_DIR).zip \
77
$(basename ${BINARY}) \
0 commit comments