Skip to content

ci: added current branch for push trigger #2

ci: added current branch for push trigger

ci: added current branch for push trigger #2

name: Build Debian package on release
on:
push:
branches: [ feat-create-debian-package-with-tag ]
paths-ignore:
- 'docs_src/**'
- 'README.md'
- 'CITATION'
- 'book.toml'
- 'CONTRIBUTING.md'
tags: [ 'v*.*.*', 'dev*.*.*' ]
workflow_dispatch:
env:
VERSION: ${{ vars.GITHUB_REF_NAME }}
jobs:
create_debian_pkg_with_tag:
name: Create Debian package associated to version tag
runs-on: ubuntu-latest
steps:
- name: Checkout scaphandre-debian repository
uses: actions/checkout@v4
with:
repository: barnumbirr/scaphandre-debian
- name: Build package with version tag and Debian 11 Bullseye
run : |
./build.sh -v {{ $VERSION }}
- name: Build package with version tag and Debian 12 Bookworm
run: |
./build.sh -i debian:bookworm-slim -v {{ $VERSION }}