Skip to content

Merge pull request #15 from mohwildan/realese/build #15

Merge pull request #15 from mohwildan/realese/build

Merge pull request #15 from mohwildan/realese/build #15

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: npm
- name: Install dependencies
run: npm install
- name: Build the app
run: npm run package
- name: Upload Release Assets
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GH_TOKEN }}
tag: ${{ variables.RELEASE_VERSION }}

Check failure on line 32 in .github/workflows/buildrelease.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/buildrelease.yml (Line: 32, Col: 16): Unrecognized named-value: 'variables'. Located at position 1 within expression: variables.RELEASE_VERSION .github/workflows/buildrelease.yml (Line: 33, Col: 17): Unrecognized named-value: 'variables'. Located at position 1 within expression: variables.RELEASE_VERSION
name: 'Release ${{ variables.RELEASE_VERSION }}'
artifacts: |
./release/build/Vocallia-${{variables.RELEASE_VERSION}}.dmg
draft: false
prerelease: false