We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb30aa2 commit 4ffc2faCopy full SHA for 4ffc2fa
1 file changed
.github/workflows/release.yml
@@ -76,10 +76,17 @@ jobs:
76
go build -v -ldflags "-X main.version=${{ steps.version.outputs.VERSION }}" -o ${{ matrix.artifact_name }}
77
78
- name: Create release asset
79
+ if: matrix.os != 'windows-latest'
80
run: |
81
cd window
82
zip -r ${{ matrix.asset_name }} ${{ matrix.artifact_name }} ./dist
83
84
+ - name: Create release asset (Windows)
85
+ if: matrix.os == 'windows-latest'
86
+ run: |
87
+ cd window
88
+ powershell -Command "Compress-Archive -Path ${{ matrix.artifact_name }},dist -DestinationPath ${{ matrix.asset_name }}"
89
+
90
- name: Upload release asset
91
uses: softprops/action-gh-release@v1
92
with:
0 commit comments