mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2025-02-23 01:15:40 +08:00
update
This commit is contained in:
parent
2feded3abc
commit
3aee9cf120
18
.github/workflows/main.yaml
vendored
18
.github/workflows/main.yaml
vendored
@ -45,6 +45,24 @@ jobs:
|
||||
cd cmd
|
||||
go build -o ../bin/backtrace-${{ matrix.goos }}-${{ matrix.goarch }} -v .
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
body: |
|
||||
Description of the release
|
||||
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/backtrace-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
asset_name: backtrace-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
goos: [windows, freebsd, openbsd, linux, darwin]
|
||||
|
Loading…
Reference in New Issue
Block a user