-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (32 loc) · 1.1 KB
/
please_release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: release-please
on:
workflow_dispatch:
push:
branches:
- master
- main
jobs:
release-please:
runs-on: ubuntu-latest
env:
GITHUB_REF: ${{ github.ref }}
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_PAT }}
steps:
- name: Show github.ref
run: echo "$GITHUB_REF"
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
release-type: simple
- name: Show output from Release-Please
if: ${{ steps.release.outputs.release_created }}
run: |
echo "release_created: ${{ steps.release.outputs.release_created }}"
echo "upload_url: ${{ steps.release.outputs.upload_url }}"
echo "html_url: ${{ steps.release.outputs.html_url }}"
echo "tag_name: ${{ steps.release.outputs.tag_name }}"
echo "major: ${{ steps.release.outputs.major }}"
echo "minor: ${{ steps.release.outputs.minor }}"
echo "patch: ${{ steps.release.outputs.patch }}"
echo "sha: ${{ steps.release.outputs.sha }}"
echo "pr: ${{ steps.release.outputs.pr }}"