fix(lock): Updates lock/unlock to append _alpha1 (#72) #58
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: Release | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
validate: | |
name: Validations | |
uses: ./.github/workflows/validations.yaml | |
release: | |
needs: [validate] | |
name: Create a release | |
runs-on: ubuntu-latest | |
outputs: | |
release_created: ${{ steps.release.outputs.release_created }} | |
steps: | |
- | |
uses: actions/checkout@v4 | |
id: git-checkout | |
with: | |
fetch-tags: true | |
- | |
uses: googleapis/release-please-action@v4 | |
id: release | |
with: | |
config-file: .release-please-config.json | |
manifest-file: .release-please-manifest.json | |
token: ${{ secrets.RELEASE_PLEASE_TOKEN }} | |
- | |
id: debug | |
env: | |
RELEASE_CREATED: ${{ steps.release.outputs.release_created }} | |
TRACE: ${{ secrets.ACTIONS_STEP_DEBUG || 'false' }} | |
run: | | |
if [ "$TRACE" != 'false' ] | |
then | |
printf 'Release created: %s\n' "$RELEASE_CREATED" | |
fi | |
publish: | |
if: needs.release.outputs.release_created | |
needs: release | |
name: Build and publish artifacts | |
uses: ./.github/workflows/publish.yaml | |
secrets: inherit |