-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (33 loc) · 1 KB
/
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
36
37
38
39
40
on:
push:
branches:
- main
paths-ignore:
- '.github/**'
- 'renovate.json'
name: Create Release
jobs:
release:
name: Create Release
runs-on: ubuntu-latest # run on hosted runner, because it's a public repo
permissions:
contents: write
pull-requests: write
steps:
- id: release
uses: google-github-actions/release-please-action@v4
with:
release-type: simple
outputs:
major: ${{ steps.release.outputs.major }}
minor: ${{ steps.release.outputs.minor }}
release_created: ${{ steps.release.outputs.release_created }}
tag:
name: Tag Major and Minor Versions
uses: zeitonline/gh-action-workflows-ops/.github/workflows/tag-rolling-release.yaml@main
needs: release
if: ${{ needs.release.outputs.release_created }}
with:
runs-on: ubuntu-latest # run on hosted runner, because it's a public repo
major: ${{ needs.release.outputs.major }}
minor: ${{ needs.release.outputs.minor }}