Skip to content

Update v-build.yml

Update v-build.yml #7

Workflow file for this run

name: V Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository code
- name: Checkout code
uses: actions/checkout@v3
# Step 2: Install the V compiler
- name: Install V
run: |
curl -LO https://github.com/vlang/v/releases/latest/download/v_linux.zip
unzip v_linux.zip
chmod +x v/v
sudo mv v/v /usr/local/bin/
# Step 3: Build the project (adjust the command if your entry file is different)
- name: Build project
run: |
v .