Skip to content

Merge pull request #1043 from hexlet-codebattle/add-binary-search #611

Merge pull request #1043 from hexlet-codebattle/add-binary-search

Merge pull request #1043 from hexlet-codebattle/add-binary-search #611

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@v3
- uses: DeLaGuardo/setup-clj-kondo@master
with:
version: '2023.07.13'
- uses: DeLaGuardo/[email protected]
with:
tools-deps: '1.11.1.1347'
- 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