workflows: releases: build v -prod

pull/7026/head
Alexander Medvednikov 2020-11-29 19:57:12 +01:00
parent 4e6bc27b30
commit 5eb7660608
1 changed files with 6 additions and 6 deletions

View File

@ -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