Skip to content

chore: Revert "release(version): Bump to v0.1.0 (#14)" (#15) #17

chore: Revert "release(version): Bump to v0.1.0 (#14)" (#15)

chore: Revert "release(version): Bump to v0.1.0 (#14)" (#15) #17

Workflow file for this run

name: Release
on:
push:
branches: ["main"]
paths:
- "build/version"
jobs:
release:
if: startsWith(github.event.head_commit.message, "release(version):")

Check failure on line 11 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 11, Col: 9): Unexpected symbol: '"release'. Located at position 46 within expression: startsWith(github.event.head_commit.message, "release(version):")
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set output variables
id: vars
run: |
version="$(cat ./build/version)"
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: Upload github release
uses: softprops/action-gh-release@v1
with:
body_path: ./docs/LATEST_CHANGELOG.md
tag_name: ${{ steps.vars.outputs.version }}