Skip to content

Merge branch 'develop' #1

Merge branch 'develop'

Merge branch 'develop' #1

name: Semantic Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
outputs:
VERSION: ${{ steps.run-release.outputs.VERSION }}
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: npm
node-version: 20
- name: Install and Run
id: run-release
env:
DEBUG: semantic-release:github
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
npm install --global semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/git @semantic-release/exec
npx semantic-release
- name: Output version
run: echo ${{ steps.run-release.outputs.VERSION }}