chore: Revert "release(version): Bump to v0.1.0 (#14)" (#15) #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / ReleaseInvalid workflow file
|
||
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 }} |