Compare commits
1 Commits
398a932bcb
...
v0.0.22
Author | SHA1 | Date | |
---|---|---|---|
81ac4d4db5 |
@@ -30,9 +30,6 @@ jobs:
|
||||
ext: ""
|
||||
|
||||
steps:
|
||||
- name: Install zip
|
||||
run: |
|
||||
apt-get update && apt-get install -y zip
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
@@ -86,14 +83,9 @@ jobs:
|
||||
echo "Building $OUTPUT"
|
||||
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -ldflags="-s -w" -trimpath -o "$OUTPUT"
|
||||
shell: bash
|
||||
|
||||
- name: Zip artifact
|
||||
run: |
|
||||
cd bin
|
||||
zip "${{ env.APP_NAME }}-${{ matrix.os }}-${{ matrix.arch }}.zip" "${{ env.APP_NAME }}-"* -x "*.zip"
|
||||
|
||||
- name: Upload zipped artifact
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
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