mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
workflows: releases: build v -prod
This commit is contained in:
parent
4e6bc27b30
commit
5eb7660608
12
.github/workflows/binary_artifact.yml
vendored
12
.github/workflows/binary_artifact.yml
vendored
@ -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
Block a user