From 89c22ed8383ca4e5130a896a7456710935122c59 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Sun, 16 Jun 2024 19:21:22 -0400 Subject: [PATCH] ci: add release workflow [skip ci] Change-Id: Idfcef50378042e62c10494cc37d18e590688eba5 --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3500bd7..e6dfbf71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,8 @@ name: CI on: push: + branches: + - '**' paths-ignore: - '*.conf.sample*' - 'Dockerfile' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..fbe0fe53 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Release +on: + push: + tags: + - 'NFD-[0-9]+*' + workflow_dispatch: + +permissions: + attestations: write + contents: write + id-token: write + +jobs: + release: + uses: named-data/actions/.github/workflows/release.yml@v1 + with: + submodules: true