Compare commits
1 Commits
398a932bcb
...
v0.0.22
Author | SHA1 | Date | |
---|---|---|---|
81ac4d4db5 |
@@ -30,9 +30,6 @@ jobs:
|
|||||||
ext: ""
|
ext: ""
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install zip
|
|
||||||
run: |
|
|
||||||
apt-get update && apt-get install -y zip
|
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -87,13 +84,8 @@ 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: Zip artifact
|
- name: Upload artifact
|
||||||
run: |
|
|
||||||
cd bin
|
|
||||||
zip "${{ env.APP_NAME }}-${{ matrix.os }}-${{ matrix.arch }}.zip" "${{ env.APP_NAME }}-"* -x "*.zip"
|
|
||||||
|
|
||||||
- name: Upload zipped artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ env.APP_NAME }}-${{ matrix.os }}-${{ matrix.arch }}
|
name: ${{ env.APP_NAME }}-${{ matrix.os }}-${{ matrix.arch }}
|
||||||
path: bin/${{ env.APP_NAME }}-${{ matrix.os }}-${{ matrix.arch }}.zip
|
path: bin/
|
||||||
|
Reference in New Issue
Block a user