File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ jobs:
34
34
run : |
35
35
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o hltt_${{ matrix.goos }}_${{ matrix.goarch }}${{ matrix.goos == 'windows' && '.exe' || '' }} ./...
36
36
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/
38
38
- name : Upload Artifact
39
39
uses : actions/upload-artifact@v3
40
40
with :
41
41
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' || '' }}
43
43
44
44
prepare-and-release :
45
45
needs : build-and-upload-artifacts
@@ -72,11 +72,18 @@ jobs:
72
72
draft : false
73
73
prerelease : false
74
74
75
+ - name : check something
76
+ run : |
77
+ ls -l
78
+ ls -l artifacts
79
+ zip -r artifacts.zip artifacts
80
+ ls -l
81
+
75
82
- name : Upload Artifacts to Release
76
83
uses : softprops/action-gh-release@v1
77
84
with :
78
85
files : |
79
- artifacts/**/hltt_*.zip
86
+ artifacts/**/hltt_*
80
87
fail_on_unmatched_files : true
81
88
tag_name : ${{ steps.generate_tag.outputs.tag }}
82
89
env :
You can’t perform that action at this time.
0 commit comments