Github actions, upload built artifacts
This commit is contained in:
parent
6dc2ff1fc6
commit
39668553e4
9
.github/workflows/go.yml
vendored
9
.github/workflows/go.yml
vendored
|
@ -13,3 +13,12 @@ jobs:
|
|||
uses: xxxserxxx/actions/golang-build@master
|
||||
with:
|
||||
args: darwin/amd64/1 darwin/386/1 linux/amd64 linux/386 linux/arm64 linux/arm7 linux/arm6 linux/arm5 windows/amd64 windows/386 freebsd/amd64 freebsd/386
|
||||
env:
|
||||
COMPRESS_FILES: true
|
||||
|
||||
- id: getfilename
|
||||
run: echo "::set-output name=file::$(ls /github/workspace/.release/*.tgz /github/workspace/.release/*.zip)"
|
||||
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
path: ${{ steps.getfilename.outputs.file }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user