Skip to content

Added step to perform release on tag #21

Added step to perform release on tag

Added step to perform release on tag #21

Workflow file for this run

name: Continuous Integration
on: push
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install doxygen graphviz gcovr valgrind sloccount
- name: Configure
run: ./configure
- name: Run checks
run: make rungcov valgrindu runtestc valgrindc sloccount
- name: Build & package
run: make build doc dev_doc deb
- name: Retrieve version number
id: requestMakefile
run: |
echo "VERSION=$(make help_version)" >> $GITHUB_OUTPUT
- name: Archive .deb
uses: actions/upload-artifact@v3
with:
name: deb
path: ./results/artifacts/aum_${{ steps.requestMakefile.outputs.VERSION }}.deb
if-no-files-found: error
- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: |
./results/artifacts/aum_${{ steps.requestMakefile.outputs.VERSION }}.deb
fail_on_unmatched_files: true