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