Skip to content

Merge branch 'develop' #6

Merge branch 'develop'

Merge branch 'develop' #6

Workflow file for this run

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Upload Release Asset
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: install dependencies
run: sudo apt-get install check
- name: create build directory
run: mkdir build
- name: configure
run: cmake .. -DENABLE_TESTS=OFF
working-directory: ./build
- name: make
run: make
working-directory: ./build
- name: Generate packages with CPack
run: make package
working-directory: ./build
- uses: actions/upload-artifact@v1
with:
name: release-build
path: ./build
release:
name: Upload Release Asset
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v1
with:
name: release-build
path: ./build
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./mropes.deb
asset_name: mropes-${{github.ref}}.deb
asset_content_type: application/vnd.debian.binary-package