Skip to content

chore(deps-dev): bump prettier from 3.1.1 to 3.2.5 (#28) #52

chore(deps-dev): bump prettier from 3.1.1 to 3.2.5 (#28)

chore(deps-dev): bump prettier from 3.1.1 to 3.2.5 (#28) #52

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch:
inputs:
release-as:
type: string
description: Force the release version
pre-release:
type: choice
default: ""
description: Pre-release
options:
- ""
- alpha
- beta
- rc
permissions:
contents: write
pull-requests: write
packages: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
outputs:
is-released: ${{ steps.action.outputs.is-released }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Execute action
id: action
uses: cyberspace7/release-action@v0.6.1
with:
release-as: ${{ inputs.release-as }}
pre-release: ${{ inputs.pre-release }}
publish:
name: Publish
needs: release
if: ${{ needs.release.outputs.is-released == 'true' }}
uses: ./.github/workflows/publish.yml
with:
pre-release: ${{ inputs.pre-release != '' }}