workflows: releases: build v -prod
parent
4e6bc27b30
commit
5eb7660608
|
@ -1,10 +1,10 @@
|
|||
name: Build binary artifacts
|
||||
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- weekly.**
|
||||
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -16,7 +16,7 @@ jobs:
|
|||
- name: Compile
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
run: make
|
||||
run: make && v -o v -prod cmd/v
|
||||
- name: Create artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
@ -44,7 +44,7 @@ jobs:
|
|||
- name: Compile
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
run: make
|
||||
run: make && v -o v -prod cmd/v
|
||||
- name: Create artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
@ -137,7 +137,7 @@ jobs:
|
|||
with:
|
||||
tag_name: ${{ steps.split.outputs._2 }}
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1.0.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -145,4 +145,4 @@ jobs:
|
|||
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
|
||||
asset_path: ./${{ matrix.version }}.zip
|
||||
asset_name: ${{ matrix.version }}.zip
|
||||
asset_content_type: application/zip
|
||||
asset_content_type: application/zip
|
||||
|
|
Loading…
Reference in New Issue