fix: Adds identifier field to LayoutDto which is required field for l… #79
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: Semver to tag new version | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
semver: | |
runs-on: ubuntu-latest | |
if: | # Only trigger this job on manual trigger from alpha/beta or on main. | |
( | |
github.event_name == 'workflow_dispatch' && | |
(github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta') | |
) || | |
github.ref == 'refs/heads/main' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Semantic Release - prepare | |
run: | | |
cat <<EOF > package.json | |
{ | |
"name": "semver", | |
"private": true | |
} | |
EOF | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v3 | |
with: | |
semantic_version: 19.0.5 | |
extra_plugins: | | |
@semantic-release/[email protected] | |
@semantic-release/[email protected] | |
@semantic-release/[email protected] | |
@google/[email protected] | |
@semantic-release/[email protected] | |
@semantic-release/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT }} | |
id: semantic | |
outputs: | |
version: ${{ steps.semantic.outputs.new_release_version }} | |
new_release_published: ${{ steps.semantic.outputs.new_release_published }} | |
new_release_channel: ${{ steps.semantic.outputs.new_release_channel }} |