-
Notifications
You must be signed in to change notification settings - Fork 69
42 lines (34 loc) · 1.08 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
name: Create release on push to master
on:
push:
branches: [master]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeLaGuardo/setup-clj-kondo@master
with:
version: '2023.09.07'
- uses: DeLaGuardo/[email protected]
with:
tools-deps: '1.11.1.1413'
- name: Run checks
run: make checks
- name: Run tests
run: make test
- name: Make archive with issues
run: make release
- name: get shortsha
id: vars
run: |
echo ::set-output name=sha_short::$(git rev-parse --short=7 ${{ github.sha }})
- name: Release issues
uses: 'marvinpinto/action-automatic-releases@latest'
if: ${{ !contains(github.event.pull_request.title, 'bump') || !contains(github.event.pull_request.title, 'Bump') }}
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
automatic_release_tag: ${{ steps.vars.outputs.sha_short }}
prerelease: false
title: 'Issues'
files: ./issues.tar.gz