-
Notifications
You must be signed in to change notification settings - Fork 21
40 lines (34 loc) · 999 Bytes
/
release.yml
File metadata and controls
40 lines (34 loc) · 999 Bytes
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
name: 'Release'
on:
workflow_dispatch: {}
permissions: {}
jobs:
get_version:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.value }}
steps:
- name: Check out repo
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Get version from CHANGELOG.md
id: version
run: |
VERSION=$(bundle exec rake vox:version:current)
echo "Version: $VERSION"
echo "value=$VERSION" >> "$GITHUB_OUTPUT"
release:
needs: get_version
uses: OpenVoxProject/shared-actions/.github/workflows/release.yml@main
with:
version: ${{ needs.get_version.outputs.version }}
include_changelog_in_release: true
secrets:
github_pat: ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
ssh_private_key: ${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }}