-
Notifications
You must be signed in to change notification settings - Fork 7
39 lines (33 loc) · 1.11 KB
/
release-please.yaml
File metadata and controls
39 lines (33 loc) · 1.11 KB
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
36
37
38
39
name: Release Please
on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Release Please
uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Log release info
if: steps.release.outputs.release_created
run: |
echo "Release created: ${{ steps.release.outputs.release_created }}"
echo "Tag: ${{ steps.release.outputs.tag_name }}"
echo "Version: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}"
echo "Upload URL: ${{ steps.release.outputs.upload_url }}"
- name: Check if publish workflow will trigger
if: steps.release.outputs.release_created
run: |
echo "✅ Release published! The 'Publish Package' workflow should trigger now."
echo "Check the Actions tab to verify."