mirror of
https://github.com/progsource/maddy.git
synced 2026-03-25 16:00:39 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
35 lines
910 B
YAML
35 lines
910 B
YAML
name: release
|
|
permissions:
|
|
contents: write
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: lukka/get-cmake@latest
|
|
with:
|
|
cmakeVersion: "~3.25.0" # <--= optional, use most recent 3.25.x version
|
|
ninjaVersion: "^1.11.1" # <--= optional, use most recent 1.x version
|
|
|
|
- name: create zip
|
|
run: |
|
|
mkdir build
|
|
mkdir tmp
|
|
cd tmp
|
|
cmake -DMADDY_CREATE_PACKAGE=ON ..
|
|
make maddy_package
|
|
|
|
- name: create release
|
|
uses: svenstaro/upload-release-action@v2
|
|
with:
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
file: build/maddy-src.zip
|
|
tag: ${{ github.ref }}
|
|
body: "You can find all changes of this release in the [changelog](https://github.com/progsource/maddy/blob/master/CHANGELOG.md)"
|