This repository was archived by the owner on Sep 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
56 lines (46 loc) · 1.38 KB
/
release.yml
File metadata and controls
56 lines (46 loc) · 1.38 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Release
on:
push:
branches:
- main
- rc/*
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Install just as task-runner
uses: extractions/setup-just@v3
- name: Install ronn-ng for manpages
run: |
# TODO gem install --user ronn-ng
gem install --user kramdown-man
for bin in "$HOME"/.local/share/gem/ruby/*/bin; do
echo "$bin"
done >>"$GITHUB_PATH"
- uses: actions/checkout@v4
with:
persist-credentials: false
- id: release
uses: cycjimmy/semantic-release-action@v4
with:
extra_plugins: |
conventional-changelog-conventionalcommits
@semantic-release/exec
env:
FORCE_COLOR: 1
GITHUB_TOKEN: ${{ github.token }}
outputs:
published: ${{ steps.release.outputs.new_release_published }}
version: ${{ steps.release.outputs.new_release_version}}
# pkgbuild:
# needs: [release]
# if: ${{ needs.release.outputs.published == 'true' }}
# runs-on: ubuntu-latest
# steps:
# - uses: archlinux-downgrade/aur-publish-action@v1
# with:
# package: aurget
# version: ${{ needs.release.outputs.version }}
# publish: ${{ github.ref_name == 'main' }}
# env:
# SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}