-
-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (34 loc) · 1.19 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
41
42
on:
workflow_dispatch:
push:
branches: [main]
name: release-please
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
release-type: simple
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: extractions/setup-just@v1
if: ${{ steps.release.outputs.release_created }}
- run: |
curl -fsSL https://github.com/catppuccin/toolbox/releases/download/whiskers-v2.1.0/whiskers-x86_64-unknown-linux-gnu -o $RUNNER_TEMP/whiskers
chmod +x $RUNNER_TEMP/whiskers
echo $RUNNER_TEMP >> $GITHUB_PATH
if: ${{ steps.release.outputs.release_created }}
- run: just all
if: ${{ steps.release.outputs.release_created }}
- uses: EndBug/add-and-commit@v9
if: ${{ steps.release.outputs.release_created }}
with:
message: "chore: release (${{ steps.release.outputs.tag_name }})"
default_author: github_actions
tag: '${{ steps.release.outputs.tag_name }} --force'
tag_push: '--force'