Skip to content

Commit

Permalink
update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
snail committed Oct 24, 2024
1 parent 08e9f7c commit de67f6f
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,24 @@ jobs:
GOARCH=${{ matrix.arch }}
CGO_ENABLED=${{ steps.variables.outputs.cgo_enabled }}
go build -o bbx-${GOOS}-${GOARCH}
# - name: Upload binaries
# uses: actions/upload-artifact@v4
# with:
# name: bbx-${{ matrix.arch }}
# path: bbx-${{ matrix.arch }}
- name: run
run: |
ls -al; tree
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: bbx-${{ matrix.os }}-${{ matrix.arch }}
path: bbx-${{ matrix.os }}-${{ matrix.arch }}

- name: Release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.Run.outputs.current_tag }}
files: |
./bbx-${{ matrix.os }}-${{ matrix.arch }}
bbx-${{ matrix.os }}-${{ matrix.arch }}
release:
needs: build
Expand Down

0 comments on commit de67f6f

Please sign in to comment.