File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments