Skip to content

fix ci tests

fix ci tests #11

Workflow file for this run

name: Publish
on:
push:
tags:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🏗 Checkout code
uses: actions/checkout@v4
- name: 🏗 Get release info
id: query-release-info
uses: release-flow/keep-a-changelog-action@v3
with:
command: query
version: latest
- name: 🚀 Publish to Github releases
uses: softprops/action-gh-release@v2
with:
body: ${{ steps.query-release-info.outputs.release-notes }}
make_latest: ${{ $GITHUB_REF_NAME == 'main' && true || false }}

Check failure on line 26 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 26, Col: 24): Unexpected symbol: '$GITHUB_REF_NAME'. Located at position 1 within expression: $GITHUB_REF_NAME == 'main' && true || false
# prerelease: true
# files: '*.vsix'