fix(ci): Remove DMG for MacOS

This commit is contained in:
Eugen Eisler 2024-08-17 12:33:26 +02:00 committed by GitHub
parent 1a458c18b0
commit fab9cb29da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,14 +49,6 @@ jobs:
run: | run: |
go build -o fabric-${OS}-${{ matrix.arch }}-${{ github.ref_name }} . go build -o fabric-${OS}-${{ matrix.arch }}-${{ github.ref_name }} .
- name: Create DMG for macOS
if: matrix.os == 'macos-latest'
run: |
mkdir dist
cp fabric-macos-latest-${{ matrix.arch }}-${{ github.ref_name }} dist/fabric
hdiutil create dist/fabric-${{ matrix.arch }}.dmg -volname "fabric" -srcfolder dist/fabric
mv dist/fabric-${{ matrix.arch }}.dmg fabric-macos-${{ matrix.arch }}-${{ github.ref_name }}.dmg
- name: Upload build artifact - name: Upload build artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: