fix install zip
Some checks failed
Build Process Supervisor / build (amd64, , linux) (push) Failing after 16s
Build Process Supervisor / build (amd64, .exe, windows) (push) Failing after 16s
Build Process Supervisor / build (arm64, , linux) (push) Has been cancelled
Build Process Supervisor / build (arm, 6, , linux) (push) Has been cancelled

This commit is contained in:
Adrian Zürcher
2025-08-05 15:48:01 +02:00
parent ca9d8af13f
commit 490fae7d5b

View File

@@ -30,6 +30,9 @@ jobs:
ext: "" ext: ""
steps: steps:
- name: Install zip
run: sudo apt -get update && sudo apt-get install -y zip
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -83,9 +86,6 @@ jobs:
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -ldflags="-s -w" -trimpath -o "$OUTPUT" GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -ldflags="-s -w" -trimpath -o "$OUTPUT"
shell: bash shell: bash
- name: Install zip
run: sudo apt-get update && sudo apt-get install -y zip
- name: Zip artifact - name: Zip artifact
run: | run: |
zip bin/${{ env.APP_NAME }}-${{ matrix.os }}-${{ matrix.arch }}.zip bin/${{ env.APP_NAME }}-* zip bin/${{ env.APP_NAME }}-${{ matrix.os }}-${{ matrix.arch }}.zip bin/${{ env.APP_NAME }}-*