Skip to content

Merge pull request #228 from PoligonSa/dev #25

Merge pull request #228 from PoligonSa/dev

Merge pull request #228 from PoligonSa/dev #25

name: Publish Latest
on:
push:
branches:
- main
jobs:
publish:
name: Release
uses: ./.github/workflows/publish-common.yml
with:
with-update-package-lock: true
cmd: 'npm run release:rc'
secrets:
gh_token: ${{ secrets.GH_TOKEN }}
npm_registry_token: ${{ secrets.NPM_REGISTRY_TOKEN }}
release-notes:
name: Build Changelog
needs:
- publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
show-progress: false
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install
run: npm ci --no-audit
- name: Build Changelog
id: github_release
uses: mikepenz/[email protected]
with:
fromTag: ${{ git merge-base --fork-point origin/main }}

Check failure on line 44 in .github/workflows/publish-latest.yml

View workflow run for this annotation

GitHub Actions / Publish Latest

Invalid workflow file

The workflow is not valid. .github/workflows/publish-latest.yml (Line: 44, Col: 19): Unrecognized named-value: 'git'. Located at position 1 within expression: git merge-base --fork-point origin/main
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Changelog
run: echo "${{ steps.github_release.outputs.changelog }}"