Skip to content

Update release.yml #649

Update release.yml

Update release.yml #649

Workflow file for this run

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: '2024.09.27'
- uses: DeLaGuardo/[email protected]
with:
tools-deps: '1.12.0.1479'
- 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