Update ci.yml
This commit is contained in:
parent
2f0005dd79
commit
1d700c8996
|
@ -56,14 +56,14 @@ jobs:
|
|||
go build -o "output/$BINARY_NAME" -trimpath -ldflags "$LD_FLAGS" ./
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
if: ${{ !HEAD_REF }}
|
||||
if: true
|
||||
with:
|
||||
name: ${{ matrix.goos }}_${{ matrix.goarch }}
|
||||
path: output/
|
||||
|
||||
- name: Upload firmware to release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: ${{ HEAD_REF }}
|
||||
if: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue