Skip to content

Update build.yml

Update build.yml #4

Workflow file for this run

name: build vega
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: make
run: make
- uses: actions/upload-artifact@v4.3.3
with:
name: vega-linux
path: bin
- name: Upload to Release Action
uses: Shopify/upload-to-release@v2.0.0
with:
name: vega-linux
path: bin
repo-token: ${{ secrets.GITHUB_TOKEN }}
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: make
run: make
- uses: actions/upload-artifact@v4.3.3
with:
name: vega-windows
path: bin
- name: Upload to Release Action
uses: Shopify/upload-to-release@v2.0.0
with:
name: vega-windows
path: bin
repo-token: ${{ secrets.GITHUB_TOKEN }}