Skip to content

BREAKING: Switched from conventional-changelog-cli to `google-githu… #9

BREAKING: Switched from conventional-changelog-cli to `google-githu…

BREAKING: Switched from conventional-changelog-cli to `google-githu… #9

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Create release
on:
push:
branches:
- develop
env:
ARTIFACT_NAME: Olympus.yymps
CHANGELOG_NAME: CHANGELOG.md
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: 'ubuntu-latest'
name: Create a release
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
release-type: node
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created }}
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- run: npm install && npx yymps-export
if: ${{ steps.release.outputs.release_created }}
- name: Upload Release Artifact
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ${{env.ARTIFACT_NAME}}