Skip to content

Commit

Permalink
ci: Create release-please.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Aug 7, 2022
1 parent ed9f813 commit f3f7ca2
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: release-please

on:
workflow_dispatch:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
command: manifest
- name: Release Please Results
env:
RESULTS: ${{ toJSON(steps.release.outputs) }}
run: echo "$RESULTS"

# publish:
# needs:
# - release-please
# uses: ./.github/workflows/publish.yml
# secrets:
# PUBLISH_NPM: ${{ secrets.PUBLISH_NPM }}
# if: ${{ needs.release-please.outputs.release_created }}
# cspell:ignore noreply

0 comments on commit f3f7ca2

Please sign in to comment.