Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
490fae7d5b |
@@ -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 }}-*
|
||||||
|
Reference in New Issue
Block a user