Skip to content

Commit 83bf722

Browse files
committed
Revert "ci: Wrap binary inside zip-archive in order to prevent download issues due to virus detection"
Didn't solved the issue on windows binary downloads This reverts commit 98aaba6.
1 parent 98aaba6 commit 83bf722

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
run: |
3535
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o hltt_${{ matrix.goos }}_${{ matrix.goarch }}${{ matrix.goos == 'windows' && '.exe' || '' }} ./...
3636
mkdir -p artifacts
37-
zip -j artifacts/hltt_${{ matrix.goos }}_${{ matrix.goarch }}.zip hltt_${{ matrix.goos }}_${{ matrix.goarch }}${{ matrix.goos == 'windows' && '.exe' || '' }}
37+
cp hltt_${{ matrix.goos }}_${{ matrix.goarch }}${{ matrix.goos == 'windows' && '.exe' || '' }} artifacts/
3838
- name: Upload Artifact
3939
uses: actions/upload-artifact@v3
4040
with:
4141
name: hltt_${{ matrix.goos }}_${{ matrix.goarch }}
42-
path: artifacts/hltt_${{ matrix.goos }}_${{ matrix.goarch }}.zip
42+
path: artifacts/hltt_${{ matrix.goos }}_${{ matrix.goarch }}${{ matrix.goos == 'windows' && '.exe' || '' }}
4343

4444
prepare-and-release:
4545
needs: build-and-upload-artifacts
@@ -72,11 +72,18 @@ jobs:
7272
draft: false
7373
prerelease: false
7474

75+
- name: check something
76+
run: |
77+
ls -l
78+
ls -l artifacts
79+
zip -r artifacts.zip artifacts
80+
ls -l
81+
7582
- name: Upload Artifacts to Release
7683
uses: softprops/action-gh-release@v1
7784
with:
7885
files: |
79-
artifacts/**/hltt_*.zip
86+
artifacts/**/hltt_*
8087
fail_on_unmatched_files: true
8188
tag_name: ${{ steps.generate_tag.outputs.tag }}
8289
env:

0 commit comments

Comments
 (0)