Skip to content

ci(release): attach only cerbero binary to the release #4

ci(release): attach only cerbero binary to the release

ci(release): attach only cerbero binary to the release #4

Workflow file for this run

name: release
on:
push:
tags:
- '*'
jobs:
release-gh:
name: Release on GitHub
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download firewall build artifact
uses: dawidd6/action-download-artifact@v3
with:
workflow: firewall-build.yml
workflow_conclusion: success
name: cerbero
path: firewall/
- name: Release on GitHub
run: |
gh release create \
$(git describe --tags --abbrev=0) -t $(git describe --tags --abbrev=0) \
--target main --generate-notes \
firewall/cerbero
env:
GITHUB_TOKEN: ${{ secrets.CUSTOM_TOKEN }} # A custom token is needed to chain workflows after this one (e.g. docker builds)