Skip to content

modify build script, fix actions #17

modify build script, fix actions

modify build script, fix actions #17

Workflow file for this run

name: build vega
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
#build-linux:
#runs-on: ubuntu-latest
#steps:
#- uses: actions/checkout@v4
#- name: perms fix
# run: chmod +x build_norun.sh
#- name: make
# run: ./build_norun.sh
#- 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: ./build_norun.cmd
- uses: actions/upload-artifact@v4.3.3
with:
name: vega-windows
path: bin
- name: compress bin
uses: thedoctor0/zip-release@0.7.5
with:
type: 'zip'
filename: 'vega-windows.zip'
path: bin/
- name: Upload to Release Action
uses: softprops/action-gh-release@v2
with:
body: automatic release by github actions
prerelease: true
files: ${{ github.workspace }}/vega-windows.zip
name: autobuild
tag_name: autobuild
- name: notify discord
uses: tsickert/discord-webhook@v5.3.0
with:
webhook-url: ${{ DISCORD_WEBHOOK }}

Check failure on line 56 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build vega

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 56, Col: 22): Unrecognized named-value: 'DISCORD_WEBHOOK'. Located at position 1 within expression: DISCORD_WEBHOOK