Skip to content

refactor: removed env stage #8

refactor: removed env stage

refactor: removed env stage #8

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:
jobs:
create_debian_pkg_with_tag:
name: Create Debian package associated to version tag
runs-on: ubuntu-latest
steps:
- name: debug version env variable name
run: echo "${{ GITHUB_REF }}"

Check failure on line 22 in .github/workflows/debian-release.yml

GitHub Actions / Build Debian package on release

Invalid workflow file

The workflow is not valid. .github/workflows/debian-release.yml (Line: 22, Col: 12): Unrecognized named-value: 'GITHUB_REF'. Located at position 1 within expression: GITHUB_REF .github/workflows/debian-release.yml (Line: 28, Col: 13): Unrecognized named-value: 'GITHUB_REF'. Located at position 1 within expression: GITHUB_REF
- 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 ${{ GITHUB_REF }}
- name: Build package with version tag and Debian 12 Bookworm
run: |
./build.sh -i debian:bookworm-slim -v ${{ GITHUB_REF }}